digital switch ? with arduino . how to do it

The low risk approach is to use the Arduino to turn on a relay and then wire the relay contacts across your switch. That way everything is isolated.

The wiring to do this is shown in LarryD's second diagram which shows a relay being driven from the Arduino through a FET.