Check your codes I had a similar problem and it was solved buy replacing the MAP sensor
motor mount, top left side of engine, 35 bucks at local auto parts store.
Because its a diesel!
throttle air controll valve
check the ignition model the hind coil packs.when the ignition gets hot it does not send spark to the coil pack.
first thought would be motor mounts or trans mount do you feel anything?also could be water pump or steering pump
possibly off time.
did you ever find out what caused this i am having the same problem
its probably just your idle kicking in when u stop, this keeps your car ideling at a certain RPM so your car dont stall, and die.
might be a bad head gasket or radiator might be clogged or timing might be off you would need a machanic to look at it and diagnose it
White smoke that smells sweet, from the tailpipe is a sign of coolant entering the combustion chamber. You possibly have a blown head gasaket or a cracked head. Very Serious!!! Stop driving the vehicle until you have this looked into, or you will destroy this engine.
your oil pumps probably going bad
your truck must be ideling and in nutural to shift 4 wheel lever