Alex Rodriguez and the Yankees settled their dispute over a marketing payment with a deal announced Friday that gives $3.5 million to charitable groups, saves the team $5.5 million and gets A-Rod the home run ball from his 3,000th hit.