It'd probably be easiest to use a limit switch like Jerry suggested down on the side cover of the transmission. One of the cover bolts would be the the spot to secure a bracket. Another option would be to use a brake light switch, but those work backwards of what you'd want.