I would suspect the coil. On the way out and failing when it gets hot.
Or it could be a blocked fuel tank vent pipe creating a vacuum in the fuel tank as you drive along. If you take off the filler cap and get a rush of air as you do it, and then it will start again, then I'd suspect the latter.
Chicks Fan
January 2009