Could be your MAP sensor or Absolute Manifold Pressure sensor same thing usually mounted on or near the firewall and has at least two hoses"vacuum" going into it.
Stalling at idle? Immediately after starting? While driving? While stopping? Cold or hot engine? What engine do you have?
It might be a broken motor mount or transmission mount.
throttle postioning sensor is bad
More than likely the transmission has gone into overdrive.
A vacuum leak could cause that. The year, make and engine info would help us help you.
On a 1994 Buick LaSabre why does the engine continue to rev up while driving even when the brake is applied ? or when driving why doesn't the engine return to idle when the brake is applied? I would check for a vacuum leak
A 350 engine will idle good but cut out and run rough while driving if there is a vacuum leak. This causes too much air to enter the engine under load.
Idle Air Control Motor malfunctioning.
Your check engine light will be on and you will feel bucking or jerking while you are accelerating. You will also have an idle surging, sudden stalling of the engine, and a sudden surge in speed while driving on the highway.
The vehicle does not have any airflow across either the engine or the radiator to cool things down like occurs when driving, if at an idle. This, coupled with a diminished flow of coolant through the engine at idle speed creates undissipated heat.
The idle speed control solenoid controls the idle of the engine when the air conditioning is engaged. Since the ac pump draws down the engine idle the solenoid increase the idle when the ac is on.
There are several reasons for this behavior in virtually all water-cooled vehicles...Less air passes through the radiator while sitting at idle.Ambient engine heat is trapped under the hood with no fresh air to force it out.Mechanical water pumps pump slower at idle.