Nathan Eovaldi pitched six gritty innings, Christian Vazquez hit a three-run homer and the Boston Red Sox beat the playoff-contending Tampa Bay Rays 7-4 Sunday.

Tampa Bay started the day one game up on Cleveland for the second AL wild card. The Rays won the first two games of the series by identical 5-4 scores in 11 innings.

More Images
Tampa Bay Rays starting pitcher Ryan Yarbrough throws to home plate during the first inning of a baseball game against the Boston Red Sox Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Nathan Eovaldi pitched six gritty innings, Christian Vazquez hit a three-run homer and the Boston Red Sox beat the playoff-contending Tampa Bay Rays 7-4 Sunday.

Boston Red Sox catcher Christian Vazquez, right, celebrates with third base coach Carlos Febles (52) while rounding the base after hitting a three-run home run during the first inning of a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston designated hitter J.D. Martinez drove in two runs and is one RBI away from his third consecutive and fourth overall season of at least 35 homers and 100 RBIs.

Tampa Bay Rays' Kevin Kiermaier (39) is checked by manager Kevin Cash, left, and a trainer after being hit by a pitch from Boston Red Sox starting pitcher Nathan Eovaldi during the fourth inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Vazquez has 22 homers in 133 games this year. He went deep 10 times over 291 games during his first four seasons.

Boston Red Sox shortstop Xander Bogaerts flies over Tampa Bay Rays' Austin Meadows after forcing him out at second base and completing a double play at first base on Tommy Pham during the first inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston took a 6-3 lead in the fourth when Andrew Kittredge replaced Yarbrough with one-out and walked Martinez with the base loaded and later threw a wild pitch.

Boston Red Sox relief pitcher Brandon Workman, right, is congratulated by catcher Juan Centeno (68) after getting the save in a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

PREPARING FOR 2020

The defending World Series champion Red Sox were eliminated from postseason play Friday night.

Tampa Bay Rays starting pitcher Ryan Yarbrough throws to home plate during the first inning of a baseball game against the Boston Red Sox Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Tampa Bay Rays starting pitcher Ryan Yarbrough throws to home plate during the first inning of a baseball game against the Boston Red Sox Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston designated hitter J.D. Martinez drove in two runs and is one RBI away from his third consecutive and fourth overall season of at least 35 homers and 100 RBIs.

Rays two-way player Brendan McKay got his first major league homer on a solo shot off Trevor Kelley as a pinch-hitter in the ninth.

Martinez had an RBI single and Vazquez hit his homer off Ryan Yarbrough (11-5) as Boston went up 4-0 in the first.

Boston Red Sox catcher Christian Vazquez, right, celebrates with third base coach Carlos Febles (52) while rounding the base after hitting a three-run home run during the first inning of a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston Red Sox catcher Christian Vazquez, right, celebrates with third base coach Carlos Febles (52) while rounding the base after hitting a three-run home run during the first inning of a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Vazquez has 22 homers in 133 games this year. He went deep 10 times over 291 games during his first four seasons.

Eovaldi (2-0) gave up three runs and seven hits in picking up his first win as a starter since last Sept. 24. The right-hander had elbow surgery to remove a loose body in late April and has been building up innings over the last month.

The Rays scored a run in each of the first three innings off Eovaldi, including Joey Wendle's third-inning homer, to get within 4-3.

Tampa Bay Rays' Kevin Kiermaier (39) is checked by manager Kevin Cash, left, and a trainer after being hit by a pitch from Boston Red Sox starting pitcher Nathan Eovaldi during the fourth inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Tampa Bay Rays' Kevin Kiermaier (39) is checked by manager Kevin Cash, left, and a trainer after being hit by a pitch from Boston Red Sox starting pitcher Nathan Eovaldi during the fourth inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston took a 6-3 lead in the fourth when Andrew Kittredge replaced Yarbrough with one-out and walked Martinez with the base loaded and later threw a wild pitch.

Yarbrough allowed six runs and eight hits in 3 1/3 innings.

Tampa Bay All-Star second baseman Brandon Lowe, out since July 3 with a bruised right shin and later strained left quadriceps, was reinstated from the 60-day injured list and went 1 for 3 with a walk.

Boston Red Sox shortstop Xander Bogaerts flies over Tampa Bay Rays' Austin Meadows after forcing him out at second base and completing a double play at first base on Tommy Pham during the first inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston Red Sox shortstop Xander Bogaerts flies over Tampa Bay Rays' Austin Meadows after forcing him out at second base and completing a double play at first base on Tommy Pham during the first inning of a baseball game Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

PREPARING FOR 2020

Red Sox manager Alex Cora plans to have a busy offseason working with his players in a number of areas like on-base percentage and cutting down on strikeouts. "We have to keep adjusting," Cora said. "Be better at certain aspects and we'll be back."

TRAINER'S ROOM

Boston Red Sox relief pitcher Brandon Workman, right, is congratulated by catcher Juan Centeno (68) after getting the save in a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Boston Red Sox relief pitcher Brandon Workman, right, is congratulated by catcher Juan Centeno (68) after getting the save in a baseball game against the Tampa Bay Rays Sunday, Sept. 22, 2019, in St. Petersburg, Fla. (AP PhotoPhelan M. Ebenhack)

Red Sox: LHP David Price will have surgery Thursday to remove a cyst in his left wrist but is expected to be ready for spring training next year. ... OF Mookie Betts, who played the previous two days after missing a week due to left foot inflammation, had a scheduled day off. ... OF Andrew Benintendi (jammed left thumb) was out of the lineup for the second straight game but could start Monday.

Rays: OF Avisail Garcia, who left Friday's game with vertigo-type symptoms, is now experiencing just slight discomfort.

UP NEXT

Rays LHP Blake Snell (6-7) will make his second start Monday night since surgery July 29 to remove bone chips in his throwing elbow against Boston RHP Jhoulys Chacin (3-11).

More AP MLB: https://apnews.com/MLB and https://twitter.com/AP_Sports