The mass air flow or crankshaft position sensor may fail causing the engine to intermittently stall. It may be necessary for the engine to cool down before it will restart.