Small Engine Troubleshooting Problems? Ask a Mechanic Now.
model number? You are loosing electrical, which lets the fuel solenoid relax, killing the engine. Sounds like a loose connection, at starter solenoid or keyswitch.
# ***** and # ***** are the only parts that look to be capable of shutting off the system. The relay with diode, and the heat switch, what ever that is! See wire loom picture.
Something is killing the electrical. Engine should have oil pressure switch and water temperature switch. Either would kill engine.
you are unplugging the switches? They may be normally closed. (grounded) and break the circuit. Try grounding them with a jumper wire.
For a way to use the mower, remove the fuel solenoid, that will keep the engine from shutting off. Not a fix, but it will get grass cut!
It goes to the wire that has voltage when the key is turned on. The other is the wire that is live when cranking only, and has to pull the solenoid into place.