2 possibilities. If it is a multi speed motor, black will be ground & red, yellow, & green would be high medium, & low. It could be a universal motor that is wired differently for proper rotation direction. You will need direction's if that,s the case. They usually have the scematic on the motor.