what ontarian said, and also check the oil pressure sensor connection.
If the fuel pump is priming, but not running. it will try to start, just not run. like it will start and run for 5-10 seconds.
if the oil pressure switch is bad, not connected, etc. it will cut spark / fuel..
What does it do when it cranks?