The issue is likely the opto emitter, or the resistors on the trough board have legs that have broken off.
When I got my STTNG, someone had 'repaired' the trough by adding additional globs of solder to the broken resistor legs.
I ordered a metric crapton of resistors for the ball trough board when I did my repair, let me know if you'd like me to drop a few in the mail for you. If you're after a more plug & play solution, Great Lakes Modular sells replacement transmitter & receiver boards, for not very much moiney.