One side of the goal post is an LED, the other side of the goal post is a photo receiver. You can identify the LED(s) with a multi meters diode checker setting. Then you'll know pin 1 and pin 4. After that it would be a 50/50 about which pin is for which sensor. See below picture to show how those goal posts work.

- s2012928205920882.jpg (9.6 KiB) Viewed 2564 times
In that circuit, you'll find the PCB ties the pin 2 and pin 4 together. Such that you have one ground. It should be something like the below sketch.

- IMAG1098_2.jpg (31.92 KiB) Viewed 2564 times
Do you have a schematic for the motor windings? Can you take some ohm readings between the motor leads? I'm considering using this same motor for a project. I'm wondering if you have gotten the motor to spin. It appears it's not a DC motor, so it's a bit harder to get it to spin than a normal DC motor.