Yes I think so. As long as the pinout is the same. When the sensor is in front of you, pin at the bottom like in the picture of the bad sensor, the pinout from left to right is:
pin 1:IR out
pin 2:GND
pin 3: B+
I think the oldest sensors that where used at the end of the 80 and beginning...