Narrative:

Had landing gear unsafe indication in final turn. Tower had spacing problem. Not enough time to trouble-shoot gear problem. Tower told us to fly down runway at 2000 ft MSL. We did. Right over airport we got 'traffic' TCASII. Yellow spot in middle of several white readouts on screen. Then we got 'monitor vertical speed' showing 0-1200 ft in red on ivsi. Just then an ATR (aircraft Y) went under us, nearly head-on, approximately 300 ft below. We never saw the 0-1200 ivsi (climb) aircraft. Beat on gear handle until 3 red lights went out. Landed uneventfully. Gear problem was due to dirt/crud in handle switch contacts. Cleaned. Ok next flight.

Google
 

Original NASA ASRS Text

Title: ACR X UNSAFE GEAR INDICATION MADE GAR, HAD TCASII TA RA NMAC WITH ATR.

Narrative: HAD LNDG GEAR UNSAFE INDICATION IN FINAL TURN. TWR HAD SPACING PROB. NOT ENOUGH TIME TO TROUBLE-SHOOT GEAR PROB. TWR TOLD US TO FLY DOWN RWY AT 2000 FT MSL. WE DID. RIGHT OVER ARPT WE GOT 'TFC' TCASII. YELLOW SPOT IN MIDDLE OF SEVERAL WHITE READOUTS ON SCREEN. THEN WE GOT 'MONITOR VERT SPD' SHOWING 0-1200 FT IN RED ON IVSI. JUST THEN AN ATR (ACFT Y) WENT UNDER US, NEARLY HEAD-ON, APPROX 300 FT BELOW. WE NEVER SAW THE 0-1200 IVSI (CLB) ACFT. BEAT ON GEAR HANDLE UNTIL 3 RED LIGHTS WENT OUT. LANDED UNEVENTFULLY. GEAR PROB WAS DUE TO DIRT/CRUD IN HANDLE SWITCH CONTACTS. CLEANED. OK NEXT FLT.

Data retrieved from NASA's ASRS site as of July 2007 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.