Another shot in the dark here but:
fuel filter new???
Starts fine and dies soon after sounds like the ecu is getting the wrong signal and decides to kill the engine before its damaging its heart (the engine)
Edit: in reply to next post. (didn't want to re post)
Its not after its revved right?? I know from reading about timing that The ECU is reset after 2k rpm i believe. I would check all of the known sensors to make sure they are okay. And as brian would say, clean off your grounds (something i still have yet to get on )