The Yankees would like David Robertson to remain in The Bronx but have been talking to clubs about possible replacements for the free-agent closer, whose wish for a four-year deal in the area of $50 million might carry the right-hander out the door.

“They have talked to the Braves and likely the Marlins,’’ a person with knowledge of the situation said Sunday.

Unless the Braves go into a total rebuild mode, and they could, the chances Atlanta would deal Craig Kimbrel, considered by many the best closer in the game, are slim. The 26-year-old right-hander has led the NL in saves the past four seasons, and was an All-Star each year. With $34 million due across the next three seasons, he is affordable considering what Robertson, who has closed one year, is asking. This past season Kimbrel converted 47-of-51 save chances.

With the Marlins investing heavily in Giancarlo Stanton, they aren’t likely to move closer Steve Cishek after the 28-year-old right-hander saved 39 games in 43 chances. After making $3.8 million last season, Cishek is arbitration eligible for the first time in 2015.

The Yankees don’t appear to be interested in the Phillies’ Jonathan Papelbon, who is signed for next season at $13 million and has a vesting option for $13 million in 2016.

As for Robertson, it only takes one team to meet his wishes for a four-year deal and $50 million after he succeeded Mariano Rivera by posting 39 saves in 44 chances.

Surprisingly, the Astros have spoken to Robertson’s representative. And with the Blue Jays all in for an AL East title run, they have internally discussed adding Robertson after signing catcher Russell Martin and trading for third baseman Josh Donaldson.

Should Robertson depart, it would add another hole to a Yankees’ roster that has plenty of them. Currently, they need a third baseman and a shortstop, and have a rotation drowning in question marks.

Asking Dellin Betances to close after one sensational season in the setup role might be too much. Signing lefty Andrew Miller, who had a very good year for the Red Sox and Orioles, could fill the closer need, but Miller has never closed and is looking to share the same salary neighborhood Robertson is searching for.