Try the Clear Flooded Engine test, to see if fuel injectors are the problem
Turn key on
Press gas pedal to the floor and hold it down(this turns off fuel injector pulses from computer, spark stays on)
Try to start engine
Engine shouldn't start as long as gas pedal is held down all the way
It shouldn't even fire a little, no fuel should be getting into the intake manifold
Clear Flooded Engine routine is when the computer sees 0 RPMs and above 4.5volts from TPS(throttle position sensor), this is wide open throttle voltage, it will then shut off injector pulses.
So this depends on TPS working as it should, of course.
If engine starts then when it's above 400 RPMs computer will exit Clear Flooded Engine routine, or if you release the gas pedal.
There are two ways fuel can get into the intake, leaking fuel injector, or Pulse Damper vacuum hose.
Either should show loss of fuel pressure when key is off.
If possible have fuel pressure gauge hooked up when you start the engine, if pressure drops as engine dies then either fuel pump power is being cut or fuel line is partially blocked, fuel is being used up and it takes awhile for more fuel to flow past the blockage, which is why it restarts after sitting awhile.
Could be bad fuel filter or connector