NEW YORK - (AP) - The Yankees agreed Friday to trade much maligned pitcher A.J. Burnett to Pittsburgh for two minor leaguers, a deal that clears the way New York to add Raul Ibanez. Pittsburgh will pay $13 million of the $33 million salary due Burnett for 2012 and 2013, a person familiar with the negotiations said Friday, speaking on condition of anonymity because no announcement has been made. New York will receive 25-year-old right-hander Diego Moreno and 20-year-old outfielder Exicardo Cayones, both low-level prospects. The agreement is subject to Burnett passing a physical, which is likely to take place Sunday. Commissioner Bud Selig also must approve it because of the money involved. "I think he's looking forward to the opportunity to re-establish himself and mentor some of the young pitchers," said Burnett's agent, Darek Braunecker. Braunecker said Burnett planned to be at the Pirates' spring training complex in Bradenton, Fla., on Sunday. New York intends to use the money saved to sign a designated hitter. The Yankees already have been negotiating a major league contract with Ibanez, who spent the last three seasons with Philadelphia. He has been waiting for New York to agree to the deal, a person familiar with those negotiations said, also on condition of anonymity. The contract for the 39-year-old outfielder would have a base salary of about $1 million.