I have a snapper 12hp Briggs, when the engine gets hot it cut off, after it cools it starts up again. Maybe run for 15 min.. Replaced plug, fuel filter, cleaned carb.
One easy test as soon as it shuts down check for spark.
The most common thing is the coil gets hot and shorts its self out. Cools off and works fine again for 10 or so mins
Sent from my iPhone using LMF
Check the gas cap to.