I'll throw some ideas out ..tune up time..++
Could be a fuel related issue, what is the fuel pressure reading from schrader valve on fuel rail? Add 2 bottles of Chevron techron concentrate fuel cleaner to gas to clean injectors.
Jeep likes new spark plugs every 35k and gap em properly.
You must be registered for see images attach
Clean the intake air control- IAC- see post 10 for cleaning..
http://www.jeepkj.com/forum/f196/idle-air-control-no-screws-44826/#post475141
The IAC controls the idle an wow they can get really gummed up with carbon.'
This is how you want the iAC to look after cleaning!
63012[/ATTACH]"]
You must be registered for see images attach
Do you have engine light on, if so check for codes.
A bad TPS can also cause issues and surging idles & rpm's.