Here is a DIY for how to change a transmission range sensor that I wrote. https://www.audiworld.com/forums/a4-.../#post25762679