1996 Jeep cherokee loredo

i just recently purchased a 1996 jeep cherokee loredo. 4wd, 4.0 litre, 175,000 miles. When I stop at lights or whatever the jeep stalls. I refueled and added some fuel injector cleaner, changed spark plugs and fuel filter. When the jeep runs it seems to run fine. Now it will turn over fine but will not start. Any help is well appreciated.

Determine if the problem is lack of spark, or a lack of fuel injected into the engine. Without both, the engine won’t run.
Pull a spark plug wire and check for spark during cranking.
Spray a Starting Fluid into the intake and attempt a start. Results?