Parking Brake Light Problem
I would verify that the new switch pinout is the same as the old switch. The colors might not be the same for the function.
I would be tempted to replace all the lights with standard bulbs.
Not sure I understand the flasher "with the polarity reversed"