This could be caused by many different things. Have you done the basic tune-up items? Mostly cause would be EGR valve. The EGR system doesn't come into play until the engine is warmed up. Other problems include vacuum leaks, bad IAC motor or loose distributor internal mounting points.
In hot weather my Honda Accord 2000 starts but idles rough and dies.
outboard motor will start and idle, but dies out under load
Have vehicle scanned to determine problem and recover codes Could be a bad coolant temperature sensor
mine is doin the same thing
vacuum leak.
could be a thousand simple things from spark plugs to bad fuel i usually only have that trouble when using gas from Hess or bp
I have python tips and it idles off beat and sometimes dies.
Could be a vacuum leak Could be a bad spark plug or wire Could be a bad valve (do a compression test) Coild be a bad coil if equipped with COP (Coil on Plug)
Defective alternator.
If the engine idles and revs up okay in neutral, it is likely the torque converter clutch lock up solenoid.
its the kick down solenoid on the transmisson try replacing egr valve or pcv valve
Check for vacuum leaks and/or a bad PCV valve.