91_2600i
+1y
Here is one possible cause. On your fuel pump relay (behind left kick panel), it has two coils to close the switch and turn your fuel pump on. One is the normal coil that closes when the engine is running (KEY ON and has RPM above 50 or so) and the other closes the relay while you are starting - energized by the start circuit. So it's possible that the one coil is bad but the start circuit coil is good. In this scenario, you would have the fuel pump running and pressurizing while starting but the fuel pump would turn off as soon as you released the key from the start position... in which case the engine would die down and stall as the fuel pressure was depleted.
So, and easy test for this would be to jumper the yellow two connecter terminal near the wiper motor (also bundled right there with the green test connecter. When you jumper this connector, and then turn the key to ON, it should power the fuel manually. You can go around and remove the gas cap and listen for the pump. If you can't hear it running through the filler neck, then you might have a bad relay. Yellow to terminal connecter jumpered to itself and key "ON."
Since you weren't having this problem before, it would be awful coincidental that the relay started giving up at the same time as your head gasket job. But stranger things have happened.
The starting and dying (before it even warms up) sounds like fuel starvation. Did you check or replace the fuel filter? Does it slowly sputter down during the 15-20 seconds, or does it die suddenly?
When it does run, does it seem to run normally or smoothly? If so, the you are probably ok on the timing.
Have you tried to keep it running by continuing to give it a shot of starting fluid beyond the 20 seconds?
Did you make sure sure and connect all the grounds when putting it back together?