It looks like the switch is in the top or side of the transmission.
The switch (unlike most Kubota switches that are lever action micro switches) looks like it's threaded into the trans with no adjustment available.
The fact that it's working the opposite of what it should is rather odd, they normally don't work at all when they go out.