The relays just switches the +R -R +L -L on or off directly to the 4.4mm (they don't switch between balanced and single ended)
The thin black/red jack detection cables on the 4.4mm determines if balanced mode is on or off (displays balanced on screen). If open the system then triggers the S-Master to enable it's balanced output, after a short delay a voltage is sent accross the relays internal coils to close them.
The thin black/red jack detection cables on the 3.5mm triggers the S-Master to enable it's single ended output.
I've not tested which takes priority when both cables are plugged in though.
The bottom 2 pins on the relay are for V and gnd accross the relay coil. The next 2 pins up are R- and R+ from the output coils, the next 2 pins up are the 2 seperate switch commons and link to the R- R+ solder points that are then wired to the 4.4mm. The top 2 pins are gnd. The switch commons rests at gnd and then both flip to the 2 output coils when active.