As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
UNLOCK LIGHT ON GEAR ILLUMINATED AND RT MAIN GEAR INDICATOR WENT BLANK. COMPLETED LANDING GEAR WILL NOT EXTEND CHECKLIST. THE UNLOCK LIGHT AND RT MAIN LIGHT WOULD FLASH BACK AND FORTH. LANDED WITH GEAR UNLOCK LIGHT. DECLARED AN EMERGENCY. REPLACED RH MLG ACTUATOR DOWNLOCK SWITCH.