As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
RIGHT MAIN GEAR UNSAFE LIGHT REMAINED ON AFTER GEAR RETRACTION. FLIGHT WAS RETURNED TO MSP AND LANDED WITHOUT INCIDENT. MAINTENANCE REPLACED THE RIGHT MAIN GEAR UPLOCK AND DOWNLOCK SWITCHES. OPERATIONAL CHECK NORMAL ON GEAR SWING. AIRCRAFT RETURNED TO SERVICE.