As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
DECLARED EMERGENCY. ON FINAL, RIGHT MAIN LIGHT TURNED RED. CYCLED LANDING GEAR HANDLE TO OFF, RED TURNED TO GREEN. PUT LANDING GEAR HANDLE DOWN. ALL 3 LANDING GEAR INDICATIONS REMAINED GREEN. REMOVED AND REPLACED RT GEAR DOWNLOCK SENSOR PER MM.