DETROIT (AP) -- Marco Scutaro singled home the tiebreaking run in the 10th inning, and the San Francisco Giants beat the Detroit Tigers 4-3 on Sunday night to complete a four-game sweep and win their second World Series title in three years.
Ryan Theriot, who went hitless for St. Louis in Game 7 of last year's Series, singled softly into right field off Phil Coke opening the 10th.
Brandon Crawford sacrificed, nearly bunting the ball past Coke. Angel Pagan struck out and Scutaro singled into short center field as Theriot slid home ahead of Austin Jackson's throw.
Delmon Young homered off Matt Cain in the sixth inning, pulling Detroit into a 3-3 tie with the San Francisco Giants on Sunday night in World Series Game 4 as the Tigers tried to avoid getting swept.
AL Triple Crown winner Miguel Cabrera and San Francisco's Buster Posey also homered, marking the first time both reigning batting champions went deep in the same Series game.
San Francisco's Brandon Belt hit an RBI triple off the right-field wall in the second following a ground-rule double by Hunter Pence. But on a night when the wind was gusting to right field at up to 25 mph, Cabrera put Detroit ahead for the first time in the Series with a wild-blown, two-run drive in the third.
Cabrera's drive, on an 86 mph breaking ball, sailed over Pence who thought he would catch it but ran out of room in front of the right-field wall on the cool, blustery night. It drove in Austin Jackson, who had walked with one out, and ended Detroit's 20-inning scoreless streak.
San Francisco, trying to finish off its second title in three years, had not trailed since losing Game 4 of the NL championship series, when it fell into a 3-1 series deficit against St. Louis.
With a light rain falling, Marco Scutaro reached on a chopper to third leading off the sixth and, one out later, Max Scherzer hung an 82 mph breaking ball. Posey drove it down the left-field line, where it stayed a few feet fair and landed a couple of rows over the wall for a 3-2 lead.
That advantage didn't last long. Young sent a no-doubt drive into the right-field stands in the bottom half, setting off cheers among the crowd of 42,152, with many fans waving white rally towels.
Andy Dirks followed with a single and Jhonny Peralta hit a drive that Gregor Blanco caught against the wall in left.
After watching Barry Zito, Madison Bumgarner and Ryan Vogelsong each allow one run or none in the first three games, Cain gave up three runs and five hits in the first six innings with four strikeouts and two walks.
Scherzer, pitching on nine days' rest, gave up three runs and six hits, struck out eight and walked none.
San Francisco's Pablo Sandoval was 1 for 3 to leave his Series average at .571 (8 for 14) and he also made a nimble play to throw out Quintin Berry on a bunt to third.
Detroit's Prince Fielder was hitless in his first three at-bats, dropping to 1 for 13 in the World Series (.083) and 1 for 25 (.040) against right-handers in the postseason.
Of the 23 previous teams to take 3-0 leads, 20 swept the Series and three won in five games.
Detroit has lost six straight postseason games. If the Tigers forced a Game 5, ace Justin Verlander would start Monday night and Zito would take the mound for San Francisco. Zito led the Giants over Verlander 8-3 in the opener.
On a 44-degree night, fans bundled up at Comerica Park and some players wore caps with earflaps during batting practice.
Detroit scratched catcher Alex Avila, playing with a sore right arm since he was hit by a foul tip in the opener, and replaced him with Gerald Laird. Infante moved up to eighth in the batting order.
San Francisco started Ryan Theriot at designated hitter instead of Hector Sanchez.
NOTES: Ann Romney, wife of Republican presidential candidate Mitt Romney, attended the game.