Third baseman Rafael Devers and the Red Sox are finalizing an 11-year, $331 million contract extension, sources told ESPN, a deal that constitutes the longest and largest guarantee ever given by the franchise.