Whoa! Forgot the mode switch in that model is on a pc board.
First need to identify the 'common' pin for each of the original four circuits on the original switch. Those will translate to pins 4, 9, 13 and 18 on the new one.
Identifying which pin is USB, AM and LSB on each of the four circuits would be next. The wires would have to be cut from the pcb-transition connector, stripped and soldered to the lugs on the new switch.
Naturally testing for continuity to do this may not work if the switch is bad. If it has one good section, the pattern for which pin is which mode should hold for the other three sections, though.
Not quite a chinese puzzle, but close enough.
At least the old one is arranged as four sets of four pins.
73