Re: Troy bilt
What model is the Troy bilt, engine #s would also be helpful.
On the key not shutting off engine, break or disconnect in kill wire or faulty ignition switch.
Several different things can cause the mower to die when engaging the blades. You said switch so I am guessing a pto switch for electric PTO/clutch?