In a season filled with offensive frustration the big inning has suddenly become the Yankees’ best friend.

The Bombers erased a three-run deficit in the eighth inning Tuesday scoring five times to take a 6-4 win from the White Sox.

Monday the Yankees scored eight times during a 33-minute fourth inning to crush Chicago’s spirits. They had to wait until the eighth inning Tuesday but the 32-minute frame gave the Bombers an unlikely win that moved them up a notch in the standings in both the AL East and wild card races.

While the Yankees were mounting their big rally the Orioles fell to the Indians in Cleveland. That lifted the Yankees a half-game ahead of Baltimore leaving them two games behind the Rays for the second wild card spot though Tampa Bay still had to play a late game on the West Coast.

The Yankees will go for a sweep of the White Sox on Wednesday looking to build more momentum before the first-place Red Sox hit the Bronx Thursday to kick off a four-game series.

Chris Sale dominated the Yankees over the first seven innings holding them to one run on three hits. But the Yankees put two runners on base in the eighth to knock Sale out of the game then abused Chicago’s bullpen over the rest of the frame to mount an unlikely comeback.

The Yankees batted around during the decisive inning getting a two-run single by Alfonso Soriano a game-tying single by Curtis Granderson and a go-ahead two-run double by Eduardo Nunez that capped the rally.

Mariano Rivera made the lead stand up with a scoreless ninth earning his 40 save of the season.