Its fixed now.
It was the camshaft position sensor(distributor pick-up coil). $55 at AutoZone.
Just a heads up for anyone with a 98' 2.5L: I think jeep changed some parts halfway through 98'. The part AutoZone had for 98' had the wrong connector on it. The one for the 99' was the right size.