When I start my 99 gmc Sonoma , it will turn on and shut right off on 1999 GMC Sonoma

The fuel filter has been checked , and it is getting fuel

3 answers
Anti Theft issue!
bypass fuel relay under hood and see if it stays running..... If so your fuel relay is bad
do u have any codes? what is the fuel pressure?