Coby Mayo hit a three-run bomb, Brandon Young pitched five-plus innings, and the Baltimore Orioles took a 3-2 win over the New York Yankees.