Also check your fuel pressuere. The vortec engines dont like to run if the pressure it below a set pressure (50-60 PSI) i forget. Its been a while.
Dont think it will be this but my grandmas truck wouldnt start. getting spark and fuel. Turn out to be the coil was jumping causing it not to run. but she also had a engine light last time she drove it befor it quit.