I have a ceiling fan where the pull chain broke off... bought a new pull chain switch, and replaced EXACTLY as wires were one by one... now only have 2 speeds

I have a 5 wire setting! Cannot find any info on 5 wires only 4!. (judging by previous posts around net I think I have a harbor breeze fan according to colors of wires)

Please help