When it starts to die I sometimes can move the handles outward and inward to keep it from shutting off but that is temporary and it still shuts off. The engine does not pop or backfire. I noticed yesterday that when pulling back on the handles and it start to die that the Orange light for the battery flickers. Would a bad battery make it do this? The battery is not that old. I have no problem starting it and it fires right up. I tried to choke it as it died to see if it just needed more fuel but that didn't make a different. When I do the choke it sputters and then dies. My impression at first was that it was fuel starvation and that is why I replaced the fuel filter. When running I can turn it off with the key and it shuts off normal.
Thanks for the info. I'm going to say your issue is electrical. If it were a fuel issue, the choke would have helped rather than killing the engine.
Some of the issues I have found over the years have been anything from a broken wire losing connection, a bad keyswitch, a PTO switch going bad, the switches at the control sticks going bad.
Any of the above could create an intermittent issue as you are describing.
Unfortunately, the only way to find it is to get a wiring diagram and start testing switches and inspecting all wire harness plugs, and ground connections.
As with electrical issues, the problem is probably a simple fix, but finding it can be aggravating.
A bad battery can do weird things, especially if your charging system is weak.
But usually, if the battery causes the engine to shut off, you wont be able to crank it right back up because the battery would be dead at that point.
So I'm going to rule the battery out at this point. Make sure your battery cables are tight and free of corrosion.
If it were at my shop, I would start by checking all your ground connections, and unplug and replug all harness and switch connections in hopes that it is just a dirty connection somewhere. If no change, then the electrical system will need diagnosed.
I can supply you with a wire harness schematic. The tech book has serial number breaks depending on which mower deck you have. If you could post your serial number and size of mower deck, then I can get you the right schematic.
Will