The three-run outburst in the 15th gave the win to Hector Noesi in what turned out to be a wild major league debut. The Orioles forced extra innings with a run in the ninth and the game then dragged on until the Yankees broke through against three Baltimore relievers in the 15th.
New York has won two in a row on the heels of a six-game losing streak.
Cano hit the first pitch from Gonzalez for a double that scored both runners and Cano went to third when center fielder Adam Jones misplayed the ball for an error. A sacrifice fly by Brett Gardner off Jeremy Guthrie delivered Cano with the third run of the inning.
Noesi (1-0) was called on to start the 12th inning for the Yankees and he went the rest of the way despite giving up four hits and walking four in his four innings. He left runners on second and third in the 12th and put two on in the 13th before striking out Mark Reynolds to end the inning.
Baltimore came up with two hits and a walk in the 15th without scoring against Noesi.
Wisconsin business offering 'therapeutic cuddling' forced to close
Sign language interpreter at Mandela service called out as fake on Twitter