My car shuts off when the gas pedal is pushed.
Situations like the one you are experiencing are tough to diagnose with limited information because of all the variables involved. Things like low fuel pressure, or a large vacuum leak could cause a concern similar to what you are describing. My advice is to seek the help of a professional technician, such as one from YourMechanic, to help you diagnose why your car shuts off when the gas is pressed.
Our certified mechanics come to you ・Backed by 12-month, 12,000-mile guarantee・Fair and transparent pricing