Hi,
I had a very similar issue with my 97XJ, and it turned out that the alternator had seized up burning up my belt and some how also shorted out my TPS...I got a new alternator/belt and new TPS, cleared out the codes and I was good to go. maybe that will help?
DRB
97XJ