There is a black wire with a female terminal that goes on the steel terminal on the plunger end of the switch light assembly for the ground.
The +12V orange wire with the male terminal goes in the plastic housing from the bulb end of the switch light assembly. There is a catch this is not a removeable connector like the other one it does not just slide in and out it has to be removed with a tool. If you try to remove it without the tool breakage is the likely outcome.
With out pictures from other angles I cannot tell if the housing is broken or still useable.
New switch light assembly available here.
https://www.lectriclimited.com/console-compartment-light-switch-105835
View attachment 208803