Wiring harnesses do not go bad.
Connections get some corrosion but that is removed by unpluging & repluging the connections, not replacing the entire harness.
They are all of a self cleaning design.
After several years wires can corrode through but not in a single season.
The safety switches are simple sliding contact type and can corrode internally but again a squirt with Wd 40 or better still contact cleaner then work the switch a few times will have it working fine.
If the mower has to live outside then get a VENTILATED car cover for it and make sure it is sitting over concrete.
If not concrete then get a sheet of heavy rubber and park it over that to prevent moisture being drawn up & condensing on the mower.
Use an old T-shirt as a seat cover and leave the mower uncovered during the day unless you are expecting rain.
Get a can of liquid electrical tape, clean the battery terminals & connectors the assemble & paint them.
Do the same where the battery cables connect to the frame & engine.
You might like to consider replacing both battery cables before painting as water can be drawn into the cables and they can corrode along their length so look good till you try & pass starting current through them.
Buy a jar of lanolin grease stuff all the plugs with the grease then plug them together this will keep the moisture out & prevent corrosion.
Lots of my customers leave their mower out all year with no electrical problems.
And don't go back to that dealer , the term "taken for a ride" comes to mind concerning their treatment of you.
Thank you very much for responding. Seeing as how I have replaced the seat switch it must be the brake switch. Where is the brake switch and how do I check it?sounds more like a seat switch or brake switch than a brake box
The brake switch, or rather the parking brake switch is directly behind the parking brake lever
It has 4 wires, a yellow a yellow & 2 violets
Looks like exmark have drawn the schmetic wrong so check the switch first .
Looks like brake off the yellow & violets are connected and grey is disconnected
So with the brake on the grey & violet is connected & the yellow might be disconnected, or the grey , yellow & violet might all be connected
With all ZTR's I use a few short jumper wires to manually make the connections that each switch would normally make.
This gets done one switch at a time till the problem goes away and the last switch jumped was obviously the faulty one.
Using a multi meter can give a false OK because a terminal that is just barely touching will show continuity but will not carry voltage.