The pump set at the highest pressure will run first. If that well pumps dry before the water use is turned off, a low amperage device like the Cycle Sensor can shut the pump off. Either way the water is still being used and the pressure drops and turns on the second well. This well can also be protected by a Cycle Sensor if it runs dry. These Cycle Sensors can be set to restart the pump in however long you decide it takes for the wells to recover, (from 1 to 500 minutes).
I have a system working like this which has about 100 gallons stored in each well, on top of the 4 GPM recovery rate for the wells. Rarely does my second well pump ever come on. The first well with 100 gallons stored and a 3 GPM recovery rate nearly always takes care of 2 houses. Only if I have lots of company is the second well ever used. A 50 PSI Cycle Stop Valve with the 40/60 switch and a 40 PSI CSV with the 30/50 switch makes everything run very smoothly instead of cycling on and off. BTW I only have a single 20 gallon pressure tank with 5 gallons draw down.