The Yankees and outfielder Cody Bellinger are ending their offseason standoff by agreeing to a five-year, $162.5 million contract, sources told ESPN.