automatic trans have a switch inside transmission that is operated via cable from the gear lever. it can be removed without removing valve body. remove all sump bolts and switch is visible and accessible. normally fault is rust damages pins inside switch and most cases is caused by water flowing into trans by trans cooler. you lucky if just rust for other reasons and not water. good luck