I´m guessing the 94 still has the fuel filter, up above the drivers side rear wheel well, on the inside frame rail. Over the summer, heard of many mid 90´s XJ´s, with black flecks in the fuel fiter (dump the fuel in a clean jar, blow in the out end). Turned out to be the fuel line, from the pick-up (in the tank) and/or from the tank to the filter, rotting. Worth a look.
Fuel pressure test, will tell you quick if things are plugged up. A refrigeration gauge, will work as a fuel pressure tester, if you don´t have fuel pressure gauge around. I drove, with one tied to my windshield wiper, for almost three days, trying to catch an intermittant problem. Turned out not to be a fuel problem, but an ignition issue.
The next time it happens look for spark at the coil or center distributor cap. Sounds like weak spark and/or a gremlin in the ignition wireing.
And of course the old CPS, symptoms, sound somewhat like a CPS, problem. Next time you don´t get a start, try unpluggeing the CPS and plugging it up again. Have heard this can be benefitial.