With about an hour remaining before the 4 p.m. ET non-waiver Trade Deadline, the Yankees agreed to swap outfielder Dustin Fowler, infielder Jorge Mateo and right-hander James Kaprielian to Oakland in exchange for the 27-year-old Gray, widely viewed as one of the top available starters in the marketplace.

"On behalf of this fan base, this team has shown it's got the ability to allow us to push a lot of these chips in the middle of the table and recognize 2017 has a chance to be special," Yankees general manager Brian Cashman said.

Fowler, Mateo and Kaprielian were ranked as the fourth-, eighth- and 12th-best prospects, respectively, in the Yankees' farm system by MLBPipeline.com. The Yanks are also receiving $1.5 million in international bonus pool money. Gray will be joining a Yankees club that opened play on Monday with a 56-47 record, a half-game ahead of the Red Sox in the American League East.