What was found
During climb at 1000' AGL, the crew experienced fluctualting R/H engine EGT indication full deflection to both limits. The engine was shut down IAW the QRH, the aircraft was returned to IAD and landed without further incident. Maintenance personnel removed and replaced the terminal ends on the R/H engine EGT rake and reprogramed EGT parameters in the IEC. Performance engine run operational checks were satisfactory and the aircraft was returned to service.