You are going to need to provide much more information. A circuit of the existing would be nice. We have no idea what exactly the existing dip switches do? What are they switching? Do they make a pull up or pull down? Sure, replace the switches with a logic level MOSFET. There, now we are done.