I am putting in a new lift and was given a used Magnetek 3/4 hp motor and switch to use to raise boat up and down. I have searched for a wiring diagram and can't seem to find one. The motor has 6 wires coming from it. White, Black, Red, Blue, Orange & Yellow.

The switch has 5 wires. White, Black, Red, Orange, and Green. I tried matching colors and the motor would only run in one direction. What is the correct way to wire it up?