What fuel should I run in my 340?

My car is shutting off at every light! Fml. I'm changing the wires now the car runs horrible on 87 it feels like performance went down and it's shaking Alot. The car was fine last week well not this bad