Free agent infielder Luis Arraez and the New York Yankees agreed to a three-year, $45 million contract, sources told ESPN's Jeff Passan on Sunday.