94 Dodge ram 4x4, runs super rough.

Sounds like the ECU is fragged. Try clearing it (disconnect all power for one minute and ground the ECU frame). Then try a restart and let it idle for a good 15-20 minutes before driving.

If the issue returns, you probably need a new ECU. They often go bonkers once they get hot if they are failing.

The only other possibility I can think of is that the throttle position sensor is fragging at temp and giving false readings to the ECU.