BOSTON -- Red Sox shortstop Xander Bogaerts had some special guests in town to see Boston open a crucial series against the American League East-leading New York Yankees.

They got to the park too late to see his three-run homer in the first inning.

So Bogaerts hit another -- a solo shot in the eighth to give the Red Sox a 19-3 lead and seal a historic pounding of their longtime rivals.

"The last at-bat, I saw my mom there and I was like, 'I'm going to try,'" said Bogaerts, who also had his uncle and little league coaches in the stands. "I was happy I did. It will just be special having them here ... and having them enjoy watching me play and doing productive stuff for the team."

Bogaerts, born in Aruba, had four hits in all Thursday night as the Red Sox erupted for their biggest victory over the Yankees in the 117-year history of the rivalry.

Andrew Benintendi and Jackie Bradley Jr. had three hits apiece; Bradley, Michael Chavis and J.D. Martinez each had two of Boston's 10 doubles. Eight players had at least two RBIs for Boston, tying a major league record.

The Red Sox have won three of their first four in a stretch of 14 consecutive games against the Yankees and Tampa Bay, the two teams ahead of them in the division. But they remain 10 games behind New York, a half-game behind the Rays and one game behind Oakland in the race for the second AL wild card.

"It's a good time for everyone to be contributing," Bogaerts said. "If we keep it up for two months I think we'll be in very good shape, but it's hard to do."

In the worst start by a Yankees pitcher against the Red Sox, Masahiro Tanaka (7-6) allowed 12 runs on 12 hits and three walks in 3⅓ innings. It was the second-most earned runs ever allowed by a Yankees pitcher -- Carl Mays gave up 13 in a complete game against Cleveland in 1923.

Rick Porcello (9-7) had his problems, giving back two runs in the second after being spotted a 7-0 lead. Kyle Higashioka added a solo homer in the fifth to make it 12-3. But the Red Sox right-hander managed to finish six innings, allowing three runs on six hits while striking out five and walking one.

Boston has scored double-digit runs in each of Porcello's past five outings; he's the first major league pitcher to get that much support since 1896. He is 4-1 in his past six starts despite giving up 30 runs in 29 innings.

"It's been absolutely incredible," Porcello said. "It seems like the last three or four games I pitched we put up damn near 20 runs. Run support is huge. And when we're scoring like this, you do the best you can not to screw it up."

Tanaka, who had won four consecutive decisions, walked Mookie Betts and Rafael Devers to start the first before Bogaerts hit a 451-foot homer over the Green Monster and onto Lansdowne Street below.

Tanaka allowed three singles to load the bases and, with two out, Bradley and Betts hit consecutive two-run doubles to make it 7-0. Devers homered leading off the five-run fourth, when Boston chased Tanaka.

Yankees starters have allowed 40 runs over their past five games, something they hadn't done since 1912.

"It's been each guy this time through," manager Aaron Boone said. "So, it's been one hiccup for every one of the guys that's come in succession. Makes it difficult, but we've just got to dig in and see where we can make little improvements and expect that the next time out each guy will be sharper."

Stephen Tarpley wasn't much better, giving up three runs in the fifth and another in the sixth. Sandy Leon hit a two-run homer in the eighth, then Bogarts followed with his second of the night; this one failed to reach Lansdowne Street only because it clipped the billboard above the Monster.

STATS

Devers leads the majors with 31 RBIs in July and is the youngest Red Sox player with a 30-RBI month since Ted Williams in August 1939. ... The Red Sox have scored eight or more runs in four consecutive games against the Yankees for the first time since 1912, the year Fenway Park opened. ... The previous team with eight players with two or more RBIs was the Texas Rangers in a 30-3 victory over Baltimore in 2007. ... The Orioles scored 10 runs or more in five straight starts for Bill Hoffer in 1896.

ON THE FARM

Yankees prospect Deivi Garcia made his third start for Triple-A Scranton/Wilkes-Barre as he bids for a big league call-up. The 20-year-old right-hander entered the game with 124 strikeouts in 76⅔ innings.

TRAINER'S ROOM

Yankees: OF Brett Gardner was placed on 10-day injured list with left knee inflammation, retroactive to Monday. ... Tarpley was recalled from Triple-A for the game and sent back afterward. ... OF Cameron Maybin (left calf strain) made a rehab appearance in Triple-A and went 4-for-5 with a homer and a double. Boone said Maybin is expected to play nine innings in the field Friday.

UP NEXT

Yankees: LHP James Paxton (5-5), who pitched eight innings of two-hit ball against Boston on April 16, striking out 12.

Red Sox: RHP Andrew Cashner (9-5) tries to earn his first victory with Boston since he was acquired from Baltimore in a trade. He's 2-5 with a 3.96 ERA in 10 starts against the Yankees.