Right-hander Jonathan Albaladejo, who pitched a career-high three innings in the Yankees' 7-5 loss to the Red Sox on Thursday, was optioned to Triple-A to make room for Ramirez on the roster.
"Alby did everything we asked and was great yesterday, but ... Edwar has not thrown for three days and he's rested," Yankees manager Joe Girardi said.
Ramirez was 0-0 with a 0.00 ERA in seven innings across five games at Triple-A. He had allowed two hits, walked one and struck out 11.
Albaladejo, who was recalled for his second stint with the Yankees when Joba Chamberlain was placed on the Major League bereavement list on Monday, was 0-0 with a 3.18 ERA in two relief outings for New York.
Pete Kerzel is a contributor to MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.