Well if the power is dropping out you may have to trace the wires--perhaps there is a loose connection somewhere.
You can also go to Thor's website, here:
https://thormotorcoach.com/customer-care/
And request the wiring diagrams for your coach (both 120V and 12V). They may provide some indication where the wire goes. (While you're at it you may also want to request the plumbing diagrams as well--fresh, and waste.)