I’m not familiar with the Scorpio RID-5, so not sure how it’s to be wired in, which would mean my info might be incorrect.
There are 3 wires off the main switch, which are Br/L, a W/L, and a L/Y.
The Br/L goes to the Ignition fuse, then to the engine stop switch, then to the starting circuit cut-off relay and then to the sidestand switch. There’s also a R/B that goes off the stop switch to the coils.
The W/L comes off the main and goes directly to the ECU. You’ll need to start at the switch and work towards the main fuse line under the panel or you may need to go farther back somewhere under the tank.
Br/L = Brown/Blue
W/L = White/Blue
L/Y = Blue/Yellow
R/B = Red/Black