94 Dodge ram 4x4, runs super rough.

A few things i recall from my time at the dealership back then.
If it is a returnless fuel system, the regulators on top of the pump go bad. They arent hard to change.
The ignition coils on those trucks go bad, you carry a spare like you do with a ballast resistor in the older cars.
Cam/crank sync could be out, if distributor was removed and proper timing procedure wasnt followed. Need a scan tool.

trans was out,crank sensor may be damaged, first thing i would look at. Not the first time i have seen that, dropping trans without pulling crank sensor first will most often crack it.

only thing i have left and can suggest is coolant temp sensor.

taking it to multiple shops because the last one couldnt fix it is not the best thing to do, you are paying someone to retrace the last guy’s steps.