New York: The New York Yankees held off the Boston Red Sox and moved closer to clinching a playoff berth with a pulsating 4-3 victory in 10 innings on Sunday.

Robinson Cano delivered a game-tying RBI single in the ninth to force extra innings before little-used Juan Miranda forced a bases-loaded walk to bring in the game-winning run for the Yankees, who snapped a four-game losing streak.

New York (93-63) moved within one win or Boston loss of clinching their 15th post-season spot in 16 years.

"It's a lot better feeling in that clubhouse tonight than it has been lately, that's for sure," Yankees manager Joe Girardi told reporters.

"This is a huge win. We've been scuffling. We've lost some leads late in games. I think I'll sleep once we get to [our next series in] Toronto."

The Red Sox (86-69) were trying to improve their slim play-off hopes and scored two runs against Mariano Rivera in the ninth to take a 3-2 lead. But Jonathan Papelbon blew a save opportunity to spoil a fine outing from Daisuke Matsuzaka.

Boston fell 6.5 games behind the Yankees who sit a half-game from the first-place Tampa Bay Rays in the AL East.