what is this switch for?

Just like he said, called a nuetral safety switch. Also for reverse lights. What tranny was in the car before? If it was an auto it should have a harness for the switch. Here is a link for wiring diagrams by year. Hope it helps.

http://www.mymopar.com/index.php?pid=24