intake manifold leak. carefully spray gumout around the engine while its running where the intake manifold is attached. if there is a gasket leak the gumout will be sucked in and will make the idle smooth out for a few seconds. do this test quickly and spray as little as possible preferably on a "cold" engine.. you dont want any flash fires from hosing down a hot engine with solvent.
you need a major tuenup,plugs etc
change the plugs and wires
check spark plug gap and firing order-also check to make sure plugs are tight and wires connected
When the idle goes rough, you must idle the plugs. Else the car plugs roughly.
Was the truck running OK before the plugs were changed?If ok before the plugs were changed then I would recheck the plug gap & check the plug wires. It is easy to damage the carbon fiber inside the wires. If they are old say around 40.000 miles I would change them. If truck was running rough before plugs were changed I would look at timing & vaccuum. Also cap & rotor. The converter can be a problem with rough engine perform. Check for bad gas.
I've had this problem in my 1991 Escort. Try this, replace your spark plug wires and/or check your pcv valve it could be clogged or not even connected to valve cover. if replacing your spark plugs and checking your PCV valve didn't work check for a vacum leak in your intake and exaust system
Vacuum line leak especially if it runs rough at idle. Bad spark plugs or plug wires.
the transmition ,is probably not adjusted to the spark plugs,or their not the right spark plugs
they could be bad spark plugs as in not a very good brand. or maybe you didn't put the wires back on the right spark plug.
If you have not already replaced your spark plugs then do so, you might also want to check the coils while your replacing plugs if it still runs rough with loss of power try sea foam to clean your crank shaft and your injectors and all the fueling system.
Spark plug wires? Coil pack? Dirty injector? Spark plug wires? Coil pack? Dirty injector? Spark plug wires? Coil pack? Dirty injector?
The Dodge ram 1500 rough idle can because by a bad spark plug or spark plug wire. The rough idle can also because by a bad camshaft.