I had a very similar problem not too long ago on my 97 too. Check your starter, the cable that links directly to the fuse box, then the battery may be loose.
1997 TJ SPORT
4.0L, Ford 8.8 locked, AX-15, 3.5" of lift, 33" BFG KM2, SYE & UCF TT, JKS disco's, Warn 9.5ti, MetalCloaks
2000 Subaru 2.5RS
@subydoo44 (pretty much all wheeling pics)