Arizona Wind and Sun has what you need. They can send you information on how to wire it up with a solar controller.
It is a quality product Blue-Sea-systems-350a-e-series-battery-selector-switch-4-positions-9001e
Here is the link to Arizona Wind and Sun
https://www.solar-electric.com/basw1300amp.html
Amazon has the best price on it and this is a Prime Account item
But if Arizona Wind and Sun is going to do the hand holding then they are deserving of the small extra cost.
Details
Blue Sea 9001e 350 Amp Battery Switch
Make-before-break contact design allows switching between battery banks without power interruption
Ignition protected - Safe for installation aboard gasoline powered boats
Case design allows surface or rear panel mounting
Meets American Boat and Yacht Council (ABYC) requirements for battery switches
3/8"-16 tin-plated copper studs for maximum conductivity and corrosion resistance, accepts 3/8" and M10 ring terminals
7/8" (22.22mm) stud length to accept multiple cable terminals
Tactile textures indicate knob position by feel only