It sounds like your idle air control solenoid has failed. This is typical symptoms. Here is are troubleshooting steps and a component location. Let me know if there is anything else I can help with. Thaks
1. While the problem is occurring, keep the engine running by giving it just enough throttle to keep it from stalling. With the Idle Air Control (IAC) valve connected, monitor the voltage across the 2 wires at the IAC connector. The higher the voltage, the harder the PCM is trying to raise the idle. Expect more than 4 volts if the idle is lower than normal. Then, with the engine running at a low idle speed, unplug the connector, and if the RPM does not drop when the connector is unplugged, replace the IAC.
If your lukcy your problem could be a failting transmission range sensor "neutral safety switch". If that does not fix your problem you likely have a failed tourqe converter that is completly locking up when cold. Let me know if you have any other questions. Thanks.
Idle Air Control (IAC) Valve -A damaged or malfunctioning IAC valve can cause the vehicle to stall when shifted into drive or reverse.
Transmission - A malfunctioning or damaged transmission or torque converter can cause the vehicle to stall when shifted into drive or reverse.
Wire Harness -A damaged wire harness that is shorting out when it moves can cause the vehicle to stall when shifted into drive or reverse.
Transmission Range (TR) Sensor - A damaged or malfunctioning TR sensor can cause the vehicle to stall when shifted into drive or reverse. NOTE: In some older books the TR sensor was called a neutral safety switch or manual level position (MLP) sensor.
When the engine dies, is there any way to keep it running when in gear, cold?