Flasher unit to PCB socket mount
The flasher unit being referred to is quite big (30mm φ x 30mm long) and intended for clamp mounting (not on a PCB).
Also, the high current wire connections are to be made using 'Lucar' connectors.

It would be easier to replace it if it were to be mounted and wired as intended.