Engines run on a gas/air mixture. A computer controls the gas/air mixture. The computer acts on information it gets from all kinds of sensors. Placing a transmission in gear changes a condition that increases the load on an engine and the gas/air mixture needs to change also. Shifting into park will decrease the load on the engine and a sensor must tell the computer of the shift, thereby changing the gas/air mixture. The engine may stall if the mixture is too rich. Much like the old time engines that flood the carburetor if you pull out the choke causing the engine to stall. When the steering wheel is turned sharply, once again it sharply changes the engine load and the gas/air mixture may not be changing fast enough to compensate for the load change, thereby stalling the engine. However, your problem could only be the gas supply. When you press the gas pedal the computer sends a signal to the injecter(s) to increase the gas in the mixture and if the gas supply is restricted [a clogging filter], the engine should hesitate. Try the filter first.
"What causes cars to hesitate?
Some people hesitate because they want to pause and think things through, others are afraid or uncomfortable.
The dreaded SHANK.
poor tune up.
I had the same problem with my eh Holden and found that the carby bowl was dirty and the main jet was blocked. if its on a injector car try cleaning the injectors with a fuel additave Ken
A person pressing the gas pedal.
Bad speed sensors can cause the car to hesitate when accelerating at speeds below 20 mph. The blockage of the air filters can also cause the car to hesitate when accelerating at speeds below 20 mph.
Many possible causes. For starters get caught up on your maintenance needs.
power steering
Ultraviolet light causes sunburn
The problem is likely an electrical one - check your spark plug leads from the distributor to the plugs.
Sounds like it could be a dirty fuel filter, try taking it off and cleaning it.