Chosen Solution

How do I tighten my shift linkage.

Its a AT, My shifter is very sloppy and today I could’nt you get the key out of the ignition I couldn’t put it in park all the way. I have a check engine light on and the code is p1780 I changed my neutral safety switch. But the light stayed on.