2002 impala 3.4? on 2002 Chevrolet Impala

Crank sensor behind the harmonic balance shorted when the 3 wires at the plug became naked and touched so injectors would not cycle, tried 1 from autozone and 1 from o'reilly auto parts,car would miss on three cylinders,taped the original sensor wires so they wouldn't touch put it back on and car runs fine. Why will aftermarket crank sensor not work properly on this car?

Asked by for the 2002 Chevrolet Impala
Perhaps the tone ring air gap.... That's one reason I love OEM parts!!!