Where do the wires go? Wiring a 904 transmission

Thanks, for the help - I would do the switch change - but the old transmission have left the building (switch on it) - gone like elvis -