check the performance of your crank sensor. If the lab scope shoes a good pattern when you are having a problem check that your flex plate is not damaged. Another problem could be the tps or the tps connector. But concentrate on the crank sensor first.
you might also want to make sure that you don't have a problem with the basics like secondary ignition components and fuel injectors