Not knowing the internal arrangements for 4-8 and 3-7, nor the internal connections of the original motor I can't give a complete answer.
What I can tell you is how to wire up what you wish to achieve though.
First I would need to know, as I said earlier, the current capacity of the light sensor's relay.
Roy.