it can be different things but u can start checking with IAC or the fuel
car cuts off
the car will break or shut off automaticly
That's called dieseling, and the main thing that causes it is improper ignition timing.
There could be several reasons why a car would sputter and shut off. The car might be out of gas, dead battery, bad starter, alternator problems or other issues. It is best to have it checked out by a licensed mechanic.
The car is overheating. Possibly the thermostat is stuck closed. Have it checked by a mechanic.
The combination of fuel still being pumped into the engine and air
The mass air sensor sometimes would cause this problem
because when a car is on to long it will shut off because it was on to long
Timing belt is close to breaking ....or belt is out of adjustment
Hold down the clutch when sitting still or going too slow for that gear.
Because the engine is running. Shut it off or give it gas and it will not idle.
when my car did this it was a blown fuse