Vernon Wells had a go-ahead two-run double in the eighth inning, Mariano Rivera earned a four-out save and the New York Yankees rallied from three runs down to beat the Toronto Blue Jays 4-3 Wednesday night and snap a four-game skid.

Robinson Cano drove in the Yankees' first run in this three-game series with a one-out single in the eighth. Alfonso Soriano followed with an RBI double, helping New York avoid falling further behind in the AL wild-card race.

New York came in 3 1/2 games behind Tampa Bay and Texas for the second wild card. The Yankees have 10 games remaining. The Rays and Rangers played Wednesday night.

David Huff (3-1) pitched 3 2-3 innings of relief of Phil Hughes to earn the win.

Copyright 2013 by The Associated Press. All Rights Reserved.