I finally got my jeep to a shop where I could work on it and got the wheel bearings fixed and replaced the tps sensor. It drove fine for about an hour. When I left the shop it was idleing at around 3000 rpms, so my buddy loosend the bolts on the tps sensor and it went back to normal and I drove it about twenty miles. I went to a buddies house and while I was waiting in his driveway it just cut off. It did the same thing it was doing before I replaced the tps sensor. It would run fine and then slowly lose rpm and then shut off and it just does it over and over. I had some wiring that was right next to the headers so we cut it and rewired it to a place where it wasn't right next to something hot because it was melted down to bare wire. Any ideas as to what it could be? My buddy thinks that when its getting hot its causing something to short out. I'm bout to go and get another tps sensor and see if the heat is causing something to short out. This is starting to get really aggravating because when the jeep runs, it runs good and fine but its all these little things that keep giving me hell. We know it has fuel pressure and spark. I drove it for nearly an hour and went about 20 miles.