BOSTON -- Yoenis Cespedes singled home the winning run in a three-run 10th inning, and the Boston Red Sox beat the Toronto Blue Jays 9-8 on Friday night.

Toronto took an 8-6 lead in the top of the 10th. The first run scored on Dioner Navarro's infield single that followed a single by Edwin Encarnacion and a double by John Mayberry Jr. Danny Valencia then hit a fly to Allen Craig in deep right field and, when Craig was slow throwing the ball in, Mayberry scored all the way from second.

Valencia was credited with a sacrifice fly.

But in the bottom of the inning, Boston loaded the bases with none out against Casey Janssen (3-3) on singles by Mookie Betts, Xander Bogaerts and Christian Vazquez.