It’s going to be pretty hard to nail it down to an exact part. Nearly identical sensors have different output types, so there is no simple way to know which would be the most likely solution.
It looks like you believe the sensor has 3 pins. Usually that means that it has a power, ground, and output pin, and that it will be a logic output type rather than a transistor output type, which usually only has 2 pins.
Typically the center pin is the output. If that pin has a resistor connected between it and the power supply, then it is an “open-collector” type of output, but if the pin signal only goes to another chip on the board, it is probably a “push-pull” type of output.
Now, the part that is impossible to know is whether the output is inverting or not. This refers to whether the output goes high when it sees light or low. Depending on the particulars of the design, this may or may not matter.
Here are the detectors we stock which may work in your system:
Here are a few emitters to consider. They should work with any of the detectors linked to above.