Is there a product that provides a switch for diverting water through a different set of pipes?
Sounds like you're looking for a 3-way ball valve. Inasmuch as your use has one source and two destinations, the source would go to the middle port of this valve and the destinations would be fed from either side. (image from supplyhouse.com)

It seems one of your concerns with using two ordinary valves is the possibility that the pump could be turned on while both valves are closed. There exist &quot;tamper&quot; or &quot;supervisory&quot; switches that can be fitted to valves, or valves with the switch built-in, to provide electrical indication whether the valve is open or closed. The electrical output could be used to inhibit pump operation. These valves are often used in fire sprinkler applications.
Another way to deal with the problem of two valves both being closed is to set up a high pressure cut-out to stop the pump when pressure rises too high.