Ok man thanks for the info. Based on what your symptoms are I think you have one of the following problems. If your Jeep is running rough -and- rich, it can be 1: air flow related or 2: electrically related. I'll try to give you what I think is a reasonable procedure to troubleshoot and try to eliminate systems/sensors one by one. I want you to try these AIR related faults first, then come back and report what you find in detail. We'll try electric afterwards if your problem doesn't improve but try these first:
: (Your Jeep will run rich when the air ratio is decreased, particularly at idle when the EEC has to apply a set-minimum amount of fuel to keep the engine motoring)
- Take off the air tube intake at the throttle body, so you can see the butterfly valve. Turn the Jeep on, if your idle increases or the roughness decreases, you have a restriction in the air intake system, possibly a blockage in the filter or foreign debris disrupting/diverting the air-flow. (please be careful not to let anything get ingested into the TB, the suction will be immense since the surface area is much larger than the diameter of the intake tube)
- If problem continues, take off the negative and positive battery terminals and let the Jeep sit overnight. This will deplete all the capacitors in the EEC, resetting the computer back to factory settings. The EEC will have to "re-learn" the engine and it's sensors for the first 50 start-ups. Try this step b/c you bought a new O2 sensor and perhaps the EEC doesn't recognize it yet. Reset the computer and see of the symptoms change. Reconnect and start it up again.
- If the problem remains, take off the Idle Air Controller. Keep the IAC connected electrically at the connector, but take it off of the throttle body and hold it in your hand. Get a buddy to "key-on" the engine, (not turn on or crank, but just "key-on" one notch on the steering column). When you "key-on" the EEC commands the IAC to retract the plunger. The plunger should physically move when you do this, not less then 1/4" aprox. The plunger acts as a variable air controller, when idling the plunger should be retracted allowing the most "idle-air" past the butterfly valve. As you accelerate past idle, the plunger will extend and the butterfly valve takes control of the airflow. If if the plunger is stuck in the extended position or "slow-to-change", it will deprive the engine of air, then the EEC will add more fuel to keep it running. Replace the IAC if it hesitates or doesn't move at all when you "key-on"
-Adjust the Idle set screw 1 complete revolution "up". The set screw is located just below the throttle cable spring bracket. The bracket actually hits the screw, (but it won't if it's down completely). I believe it will take an 1/8" allen key to adjust it, but it could be smaller. Turn it up 360' and see if the roughness decreases. If it is already up, count how many threads you can see or the total length and post back what you find. Don't change it if it's up already, but you can if you want a temporary fix of the roughness.
- At this point I would have said clean the system out, but since you Sea-Foamed it you should be good.
- If the problem still exists "borrow" a new Throttle Position Sensor from Autozone or Advanced Auto, you don't actually have to install it on the TB to see if it's working, just disconnect the old TPS and connect the electrical connector to the new TPS and hold it in your hand. They are spring loaded and should be at neutral 0-degrees. The TPS will relay that the butterfly valve is at 0' (180') and the EEC will add the determined amount of fuel for optimum engine idle. Like I said before, if the TPS is sending out incorrect angles/positions of the butterfly valve, the EEC will by default add more fuel to prevent the engine from stalling, since it doesn't really know the actually position of the B-valve.
- If the problem continues, "borrow" a new Manifold Air Pressure sensor from the auto store. Install, and see if anything changes. The MAP relays info back to the EEC just like the TPS.
-If you still have the same roughness, reset the EEC again. By this point you should have a new O2, IAC, TPS, and MAP. Let the EEC re-learn the new sensors.
Hope this points you in the right direction, take your time and post back what you find, good luck man
(P.S. make sure you are able to return your "borrowed" sensor from the parts store before you buy parts you may/may-not need, don't get stuck with something you don't want. I know my Advanced Auto Parts is more lenient where as my Autozone makes a big stink about installing sensors and returning them, just make a big enough stink yourself and they'll give you the $ back lol)