Those fuse boxes, when they get old, are notorious for the clips getting corroded and a loose fit, so much so they can melt the plastic housing and damage the wire connection on the back making it even worse.
Polish the inside of the contact clips and make sure they fit tight on the fuse end, in bad cases replace the fuse box. Most people who do that replace with a blade fuse type.
The black red wire in rh switch should connect to black with starter button released and disconnect when button pushed.
Blue wire goes to headlamp main and blue idiot light(main beam indicator) and should have a resistance not a short. Toning is not a good test you need to measure ohms.