I have the same issue with my '97 4.0 Wrangler, but does NOT have a chipped key; with help from a borrowed fuel pressure test gauge + posting here back n forth with fellow member, SteelHeadz, I traced it to a bad fuel pressure regulator (bleeding down, lines not holding pressure);
I found them on Ebay for $44.95 shipped, via Ebay; I should have mine today or Mon; (UPS has Saturdays off) $116 seems to be the "around here" price; Advance, dealer, dont matter. I also already put in a pump (only; not the whole thing) that cost me $125. (then found them on Ebay for ~$40-ish) my fuel gauge still works, the module is still in good shape, I did not see a need to spend the $$$$ on the assembly. At least my labor doing the job muyself, on my own vehicles is free! My new pump came in a Carter box with both strainers but the pump in the box was a Walbro. The pump body was slightly larger physically, but fit fine. Same thing going on; having to hit the key 2-3 times usually but once had to hit it 5X, before it started; once runnung runs GREAT. Mine sat 18 months, because I got hurt; and was under Dr's orders not to drive---- not at all for a while; but then I could drive; IF I had an auto transmission. so the Jeep sat in the garage, I started it every month-6 weeks while it sat, more often if I needed room to work on something in my garage; pulled out a few hours at a time, to sit in the driveway; then pulled right back in, when I was done with whatever I was doing.
But I now have a 16 yr old ready for his license; so it's time to get the "bugs" out so that he has a dependable ride.
See "long crank times" in the Performance section of this site; it's recent, only within a week old;
(unrelated to post; but be careful with chain saws; I damn near lost my right foot to a kickback, the reason my Jeep had to sit)