How to replace microswitches with electronic switches in a voltage / resistor ladder circuit
You could use reed relays, which being mechanical would perform just like the existing switches. Make sure they have sufficient lifetime for your needs though.

Alternatively, analog switches can have under 1Ω resistance which should be within your tolerances.