Driving a step motor to control float switch

There are float switches and then there are float switches. Which type are you using and how is it connected to the Arduino?
Paul