Car dies after running for a short time. Now will only idle. on 1990 Mazda Miata MX-5

This just started this summer. Car would drive normally for 10 to 20 minutes then die. After letting it set for 10 to 20 minutes it would restart and drive rough for about 1 block then die again. Spark plugs and wires were replaced last year. I have replaced fuel pump and fuel filter and MAF. Now it won't run at all...only idles! Any suggestions?

Asked by for the 1990 Mazda Miata MX-5