Yoenis Cespedes came to the plate in the eighth inning with a runner on second base, two outs, and the Red Sox trailing the Cincinnati Reds by one run.

Jonathan Broxton, a relief pitcher built like an offensive tackle, threw a 95 mile-per-hour fastball under Cespedes’s chin and knocked him back.

“A lot of times pitchers think that when you get a pitch thrown high and tight on you like that, you’re going to back off and get a little flustered,’’ Cespedes said. “But that’s not how I am. I was able to focus myself even more after that pitch.”

Broxton’s next pitch, another 95-m.p.h. fastball, was over the plate. Cespedes stayed back and drove it well beyond the fence in center field.

The home run gave the Red Sox a 3-2 victory before a crowd of 35,903 at Great American Ball Park. Based on the cheer that went up when Koji Uehara recorded the final out, a large percentage of the fans were rooting for the visiting team.

The Red Sox are 5-5 since making four trades July 31, one that returned Cespedes from the Oakland Athletics in exchange for Jon Lester and Jonny Gomes. They have won consecutive games for the first time since July 20 and 21 and are 4-3 on a road trip against three playoff contenders that ends Wednesday afternoon.

Cespedes beat the Angels Sunday with a three-run homer in the eighth inning. He’s feeling comfortable with the Red Sox, even if he is still using a glove with green-and-gold highlights. A new one with Red Sox colors is on the way.

He’ll need it. As he wins games now, Cespedes also allows the Red Sox to dream of what their lineup could look like next season. Batting Dustin Pedroia second ahead of David Ortiz, Cespedes, Mike Napoli, and Allen Craig is a solid foundation to build around.