It also sound vaguely like the transmission mode switch. When you change the transmission lever, do the lights on the dashboard follow it? Or do they flicker and show random things? After a few seconds of getting an invalid result from that sensor, it will silently go into a limp-home mode that causes shifts to be REALLY harsh, complete with CLANG!