Re: Trim/Tilt rewire to a dashboard switch
A SPDT (Single Pole Double Throw) toggle switch is what you need.
Red is a 12v power supply, connects to the center terminal of the switch. The Green connects to one end terminal of the switch with the Blue wire connecting to the other remaining terminal.
The White and Brown wire have nothing to do with the switch.