Lawn Tractor Question

What I did with mine (same model) is when it would die like yours I took carb cleaner and sprayed it into carb opening with air cleaner off and it would run. It ended up being that solenoid on bottom of carb shutting fuel off