As reported to the FAA. Reports are unverified, and codes are left as the FAA publishes them.
What was found
AFTER TAKEOFF WITH GEAR HANDLE UP, CREW REPORTED AN UNSAFE RED AND GREEN NOSE LANDING GEAR LIGHT ILLUMINATING. ACCOMPLISHED QRH PROCEDURE AND SENT GEAR BACK DOWN AND RECEIVED 3 GREEN LIGHTS. FLIGHT RETURNED TO FIELD AT PBI. MAINTENANCE REMOVED AND REPLACED NOSE GEAR POSITION SENSOR PER BOEING AMM 32-61-41-001 AND 32-61-51-404-005. OPS CHECK WITH GEAR SWING AS PER BOEING AMM 32-61-00-725-001.