What causes the engine to stall after running 5 - 10 minutes? on 2003 Mazda Miata MX-5

Engine starts fine but sputters and quits after 5 - 10 minutes running time. After resting a couple minutes it starts up again fine but quits again. The car sat in storage for 6 months and has 31000 miles on it. Fuel stabilizer was added before storage.

Asked by for the 2003 Mazda Miata MX-5
After it stalls and won't re-start til it cools,DO YOU HAVE SPARK- even though it's not starting? If so , monitor fuel pressure while running and watch what happens when it stalls.IF no spark- diagnose as suggested in #s 1&2. ..........IF you find a distributor on it - then someone stole the coil packs- recommend finding new storage facility.
2 more answers , 2 more comments
have ti scan tested for codes it could be a bad distributor
Does a Mazda 2003 Miata actually have a distributor? Is it an expensive item?
most likely a bad distributor... mind.