NEW YORK - The New York Yankees and prized Japanese pitcher Masahiro Tanaka agreed Wednesday to a $155 million, seven-year contract.In addition to the deal with the pitcher, the Yankees must pay a $20 million fee to the Japanese team of the 25-year-old right-hander, the Rakuten Golden Eagles.