If you use a tiny little switch, and large gauge wire, the power going into the switch will defeat the switch. That's probably the reason the fan stayed on, or you had it wired wrong. In theory, the order is battery - switch - fan.