Pull your plug caps off and look on the rubber hose that leads down to your spark plugs. If you can see oil on them (or if you see it anywhere in the spark plug hole), you definately need to replace the gaskets on your valve cover. But that wouldn't cause your car to die like that. No spark, however, would. Have you taken off your dizzy cap? Take it off and check for obvious problems.