So my XJ didn't want to start the other day. When I tried to start it the Jeep turned over but it seemed like it wasn't getting enough gas. I don't have a functioning gas gauge so I thought that might have been the issue. When I put gas in it it didn't really help the issue. I could get it started by giving it a good amount of gas and I could keep it running if I reved. I reved it pretty hard for a while and kept it running. It ran well enough to get me to a gas station to fill up and realize that the gas wasn't the problem.
It got me home and the next day i tried it again and it started up just fine but then went bad again when I tried to start it up to get home.

The next morning, this morning, I tried to start it up and the battery was dead (Note: I have a new battery, starter and alternator). After a jump start I drove 30 miles and back without a problem.
It had been while since I changed my gas filter so I thought it might be clogged up and causing the problem. The dead battery was what really threw my off.

My guess is that one of the sensors, somewhere, has a connection gone bad and that is both causing my start up issue and my dead battery issue. Maybe a vacuum leak somewhere? Anyone else have thoughts? Any are appreciated. Thanks guys!