Dayan Viciedo broke out of a 3-for-20 slump with a three-run homer in the top of the ninth inning off Indians closer John Axford, and the visiting White Sox broke a four-game losing streak with a 4-3 win Sunday.

Axford, trying to save a record-setting performance by Indians starter Corey Kluber, walked Gordon Beckham and Adam Dunn before Viciedo lined his second homer of the season into the right-field seats.

“We’ve show all season long that we’re never really out of a game unless they’re up by eight or nine,’’ said closer Matt Lindstrom, who retired three of the four batters he faced for his fourth save.

“It was a much needed win and now we can go home and start to hopefully put a good series against the Cubs these next four days.’’

Both Kluber and Indians catcher George Kottaras had observers thumbing through the record books while the Tribe was seemingly breezing to a three-game series sweep. Kluber struck out a career-high 13 including seven in a row to break a club record shared by, among others, Bob Feller. Kottaras, according to Elias, became the first player in Indians history hit home runs in his first two at-bats with a team.

After Jose Abreu hit his major-league leading 13th homer in the first inning against Kluber, the Sox (15-17) were held to two hits through eight innings. They had lost eight straight games at Progressive Field.

Kluber struck out Abreu and leadoff man Alejandro De Aza twice and whiffed Jordan Danks, who is 3-for-39 with 19 strikeouts, three times. Kluber pitched eight innings and walked two.

Lindstrom completed a clean performance for the Sox bullpen, which had been a problem area during the first three weeks of the season but has lowered its ERA to 1.81 over the last 14 games. Zach Putnam, Ronald Belisario, Daniel Webb (2-0) and Lindstrom chipped in for 4 1/3 innings of scoreless work after starter Andre Rienzo (three runs, seven hits, four walks) needed 99 pitches to get through 4 2/3 innings.