"The difference between a one-run lead and a two-run lead with six outs to go is enormous," manager Brad Ausmus said.
Cespedes also showed off his arm, nearly throwing out Trevor Plouffe at home. If not for a slight double clutch, he would have cut down the run.
With the two hits, Cespedes raised his season average to .293. He also has 12 home runs and 47 RBIs.
As of Friday's balloting update, Cespedes was third of four, behind Kansas City's Mike Moustakas and Minnesota's Brian Dozier.
During the All-Star Game presented by T-Mobile in Cincinnati on Tuesday, fans can once again visit MLB.com to submit their choice for the Ted Williams Most Valuable Player Award presented by Chevrolet. Voting exclusively at MLB.com, online and via their mobile devices in the 2015 All-Star Game MVP Vote presented by Chevrolet, the fans' collective voice will represent 20 percent of the overall vote that determines the recipient of the Arch Ward Trophy.
MLB.TV Premium subscribers will be able to live stream the All-Star Game via MLB.TV through FOX's participating video providers. Access will be available across more than 400 supported MLB.TV platforms, including the award-winning MLB.com At Bat app. MLB.com will provide extensive online coverage of the All-Star Week festivities, including the 2015 Gillette Home Run Derby presented by Head & Shoulders, part of Gatorade All-Star Workout Day on Monday. The Derby will feature a new format with brackets and timed rounds and will be broadcast live by ESPN and MLB.com beginning at 8 p.m. ET.
The 86th Midsummer Classic will be televised nationally by FOX Sports (coverage begins at 7 p.m. ET), in Canada by Rogers Sportsnet and RDS, and worldwide by partners in more than 160 countries. ESPN Radio and ESPN Radio Deportes will provide exclusive national radio coverage of the All-Star Game. MLB Network and SiriusXM will also provide comprehensive All-Star Week coverage. For more information, please visit allstargame.com.
Betsy Helfand is an associate reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.