Welcome to the forum!
Buy a shop service manual from the manufacturer. This will have information that sooner or later WILL be needed! Unlike a car manual, these things are only thirty bucks or so. I don't recommend any online pdf type manual, unless that's all there is to be found. There's always critical information missing. Get the actual manual. You'll need it eventually, and they get harder to find, as the machine gets older. You'll be glad you did!
Have you checked the fuses, as well as the relay? And when you replaced the harness, was the main ground wire making good solid contact.
Unlike a car, where everything is pretty much protected, and wires usually don't just come loose on their own. On these vehicles, sometimes running over brush, and logs etc. Not to mention general abuse/fun. Wires can get compromised. The manufacturer typically leaves the undercarriage open to this kind of damage. So if my machine gets to acting up, in such a way that seems electrical. Many times I've just crawled underneath, and found a lump of ripped up brush, hung up on some exposed wiring, wherever it's got a frame attachment point. Pull that clump out, and you sometimes find damaged wiring. Or it can pull it loose, from something else. But it can give you a place to start, in the search for whatever the issue is.
I put a skid plate under mine several years ago, and haven't had any of this type of problems since.
Not saying that this is your problem, but in your situation, with your machine, the way you use it. After checking the fuses, and any relays, checking the undercarriage is also necessary.