Check engine light p1345 on 1997 Chevrolet Express 3500

My van has a check engine code of p1345 ignition control and also a secondary emission control what is that. I also notice the fuel pump may be going out. today i had to bang on bottom of tank to get pump working. Guessing that is separate from the code though.

Asked by for the 1997 Chevrolet Express 3500
I don't work on many Chevys but fuel pump failure seems common particularly if you tap on the bottom of the tank while cranking and the car starts, this could give a "lean code" in theory if the pump starves the engine for fuel.
The P1345 code refers to improper synchronization between cam and crank sensor (VW set this code when the timing belt gets loose). Chevy say check the distributor and ignition timing as the first place to start.