my guess is when the valve is on, its getting too much fuel and choking "to death" and when you shut it off, it stops excesd fuel from flowing and letting it start.
Sounds to me like you need to replace the float needle in the carburetor. pretty simple.
post the model number of the engine (stamped on the valve cover) .