TORONTO — Nearly a week’s worth of frustration came pouring out of the Yankees’ bats in the sixth inning Friday night. And they didn’t stop there. After using a six-run rally to take the lead in the sixth, the Yankees blew the doors off with a seven-run ninth inning to snap their season-high four-game losing streak in emphatic fashion with a 16-5 win over the Blue Jays at Rogers Centre.

Putting together the kind of full-lineup outburst that they sorely needed, the Yankees (53-31) won for just the third time in their last 12 games to even the series entering the weekend. Every member of the starting lineup recorded at least one hit and six of them had multi-hit nights as the Yankees pounded out 18 hits in total. Some frustration had begun to boil over in the bottom of the fifth, when the Blue Jays (37-44) broke a 1-1 tie to take a 3-1 lead thanks in part to Vladimir Guerrero Jr.

beating out a double play that infuriated Marcus Stroman. The right-hander appeared to be upset with Gleyber Torres, whose throw to first was too late on what would have been a tough twin killing, as the go-ahead run scored from third base on the play. But in the top of the sixth, the Yankees had an immediate response.

No. 9 hitter and DH Jahmai Jones, who enjoyed a three-hit night, led off the inning with a single before Anthony Volpe dropped down a perfect bunt single. Juan Soto then got the green light on 3-0 against left-hander Yusei Kikuchi and clobbered a fastball into the right-field sea.