I am trying to replace a ceiling fan pull switch as the chain broke off inside the switch. I have purchased two switches both being 3 speed 4 wire switches. I removed the old switch marking where the wires came out from. Installed the new switch inserting the wires in the position they originally came from. Neither one of the new switches works. I can reinstall the old switch and it works, just can't change the speed due to the chain being broke inside. One of the replacement switches came from walmart and the other from a local hardware store. Would like some suggestions on what to do.