Next time it does it check and see if you have spark, do this while it is still hot.
Sounds like you might have coil going bad when it gets hot.
If you still have good spark it will most likely be a fuel delivery problem.
#3
pugaltitude
Sounds like losing spark from the black supressor cap on end of spark plug (if fitted).
When it stalls next time pull the cap off. It has a terminal which will connect to the spark plug.
Try and start.
If it runs you have found the problem.