94 Dodge ram 4x4, runs super rough.

Throwing any codes? Still have a catalytic convertor on it? Had a 97 Ram 360 magnum. Leaving work one day it ran great until 2 miles down the road and almost to operating temp. Limped it 8 miles home with the 4 ways on. Cooled down few hours later and ran fine until it got warm again. Ended up being the catalytic convertor had failed.
It might be the cats...or even the O2 sensors as they kick in after it gets warm and the ECU runs off of the sensors rather than the program tables.

I doubt it though, it sounds like the ECU is fragging by the description.