The Cleveland Guardians and All-Star Jose Ramirez agreed to a five-year, $124 million extension Wednesday, keeping the veteran third baseman under contract through the 2028 season.