turn the key to run, then check for fuel pressure at the rail.
if its got pressure, try to start it, leave the key to run when it stalls, recheck for fuel pressure again. if its got no pressure id think the pump bit the dust. beating on the bottom of the tank can sometime make them work again. if it does works, its time for a new pump, dont trust it any more.