I'd look closely at the harness for any evidence of "modifying".
Fix what ever wires are compromised. If the harness is too mangled up and
all your switches work, a new harness would be in order...
.Make sure the brake switches, both sides, that the assembly is fully attached.
The switch may function but if the tabs that hold the switch to the frame are
compromised, the switch won't operate properly.
I have the same mower and that switch, (right side), the "tab" that holds it
broke over time. I was able to zip tie it back to the frame and it's been operational
for over 3 years...
.