Take the diagram I supplied and a volt meter and start checking things.
It is NOT the fuel solenoid, unless you mean starter solenoid. Did have a lawn tractor that the starter solenoid went bad and for awhile tapping a few times on the solenoid (not hitting) it would start.
It is NOT the fuel solenoid, unless you mean starter solenoid. Did have a lawn tractor that the starter solenoid went bad and for awhile tapping a few times on the solenoid (not hitting) it would start.