Commercial Fixed Wing
Flight Crew Air Transport Pilot (ATP); Flight Crew Multiengine; Flight Crew Instrument
Distraction; Human-Machine Interface
Aircraft Equipment Problem Less Severe
Flight Crew Overcame Equipment Problem
Aircraft; Environment - Non Weather Related
Shortly after liftoff from [Runway] 22R  at JFK on Aircraft X; First Officers side Radio Altimeter rolled down to a negative 5; continuing the climb out the RA seems to go back to normal at approximately 500 ft or so.
Pilot reported the First Officer's Radio Altimeter malfunctioned on departure from JFK but returned to normal operation passing through 500 feet.