@jjmac12345
Thanks for the update, I noticed in your initial post it was a 2004 but I didn't recall the drivetrain.
I specialize in diagnostics and electronics for Jeep and other FCA vehicles, the 2004 model year you own has a powertrain control module that was only manufactured for that specific year and one of the common failure points are idle air motor control drivers you have an entirely separate TCM for the transmission the 4.0 doesn't have.
If you plan to own that WJ for any length of time at all, you should seriously consider buying spare pcm's for it while you still can. This is one of the vehicles in the Jeep lineup from that era that I cannot repurpose another FCA module for and they are drying up in the salvage market quickly and the prices are rising on them they cannot be repaired by anyone no matter what they claim once a problem always a problem.
The time will come when they are scarce or impossible to find and will carry price tags that will be in the neighborhood of the value of the whole vehicle we saw this with some of the Wrangler models made in 05-06 and the supply chain was bringing 2-3K at one point for them. I can solve those failures with Nitro and Neon pcm's that can be reflashed to work with the TJ's but there's nothing cross compatible with the 2004 WJ at all.