https://www.lionelsupport.com/....cfm?documentID=6480
Skip to 3:30 and you will see the wiring. There will be a track jumper bar attached to track jumper and aux in if using track power to operate the switch.
John H. is correct.
Green=Thru
Black=Gnd
Red=Out
Yellow=RSC Lights