engine won't run on 1998 Jeep Wrangler

engine turns over tries to fire-up but won' can spray starting fluid in it and it will run ,then it dies

Asked by for the 1998 Jeep Wrangler
It could be so many things, fuel pump pressure and fuel pump volume delivery need to be tested, on cranking the relay closes and allows the fuel pump to run. If the fuel pump is getting power it should run the pump or else the pump is bad. If the pump is good it needs to be "turned on" the relay and computer needs to see a signal that the engine is cranking over and other inputs before the computer in your car says run the fuel pump. You will need a wiring diagram to check for power, fuses relays ect......
Autozone have some popular workshop manuals for free on line once you register (for free) on their website or there is a company that independent auto repair shops "buy" their information from that offer a very reasonable service to do it yourselvers. You can get a one week subscription or year subscription very cheap. The information is year make and model specific repair procedures, service bulletins, component locations, wiring diagrams ect.... great quality information same as the professionals have ,much better than generic workshop manuals from parts stores, much cheaper than the factory manual try
and get an online repair manual subscription.