No spark after the engine stall till it cools down in 10 to 20 minute. on 2001 Mazda Protege

After driving for 20 miles the engine stall. When I check for spark on the spark plug there is non. But the spark comes back after 10 to 20 minutes. What could me the problem?

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer 1 comment
you probably have a bad distributor
Replace crankshaft sensor!!!!!!!