My truck starts sometimes first try other times wont message center security on 2001 Chevrolet Silverado 2500 HD

I recently changes fuel pump fuel filter air filter ignition switch nothing has helped now wont start at all

1 answer
TRY ANOTHER KEY IF YOU HAVE A SPARE. OR GET A NEW ONE CODED