Have to figure out why it will not start. Is it fire or fuel. Get a can of Gumout carb cleaner and give it a shot in the throat of the carb and see if it starts.
Next time it shuts down, check for spark. If no spark then I would put my $$$$ on a bad coil. Either a hot open or hot short when engine warms up. Remedy, replace coil.