What engine do you have?
There are a couple of things that come to mind. First is the pass key system. If the PCM doesn't receive a signal from the Instrument Panel (IP) that the correct key is being used, the engine may start and run for a few seconds before shutting down again. Yes it is fuel related. The Power Control Module (PCM) shuts the injectors off in this situation. If this is the problem, you may only need to preform a system re learn. Then again you may need a new switch, or an IP. The security light should be flashing if the pass key system is activated.
Another possibility is the ignition control module (ICM) may have failed, the result is about the same, in that, the injectors stop working. I'm not sure if the ICM failing on a 2.2 will have this effect, but it sure as heck does on the 2.4.
A failed ICM doesn't show on a
scanner, well I should clarify, if an ICM fails on a '96, it does not show as such on a Snap on
scanner. Maybe the '99 has better communication with scanners than the '96 had? Replacing the ICM is truly a leap of faith, and an expensive one at that. I found a good price for a new Delco ICM on Amazon, but I also found good prices on aftermarket ones on fleabay as well. (No idea who made the fleabay parts, but they were half the price) There was also a few complete used systems.
I should say that I was working with the 2.4, which has totally different ignition system as that found in a 2.2. But according to the FSM, the pass key systems are the same.