When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
You got a bad Crankshaft Position Sensor. They go bad when they get hot and stop sending a signal. With no position of the crankshaft, the car turns off. When it cools back down, it starts working again.