First baseman Anthony Rizzo, who finished last season with the Yankees after a trade from the Chicago Cubs, agreed to a multiyear contract Tuesday night to return to New York, pending a physical, a source told ESPN's Jesse Rogers.

The contract is for two years and $32 million with an opt-out clause after one season, a source said.