When you installed the new TP sensor did you adjust the TP sensor position so that the resistance between terminals A and B is 580 - 620 ohms and tighten the shear bolts until the bolt heads break off. Connect the TP sensor connector then initialize the ECM ..