Updated

Collin Cowgill drove in the go-ahead runs and scored in a home plate collision with pitcher Tim Lincecum, and the Oakland Athletics snapped an 11-game losing streak in San Francisco with a 6-2 victory over the Bay Area rival Giants on Sunday.

Cowgill capped a four-run fourth inning against Lincecum and the collision put a scare into San Francisco and its struggling, shaggy-haired ace. The diminutive Lincecum tried to block the plate after a wild pitch, taking a helmet to the face and falling backward when Cowgill slid into him headfirst to score from second.

Lincecum (2-4) gave up five hits and four runs in four innings to push his ERA to 6.04 this season. He hasn't won since April 28 at San Diego.

Josh Reddick hit his 11th home run to back Bartolo Colon (4-4) and give Oakland its first regular-season win in San Francisco since 2008.

Colon struck out seven and walked two in five innings. He allowed two runs and six hits and wiggled out of a bases-loaded jam in the fifth with a pair of strikeouts.

Four relievers kept San Francisco scoreless over the final four innings, including Ryan Cook, who pitched the eighth to extend his scoreless streak to 20 2-3 innings to start the season.

San Francisco's weekend fizzled in the finale.

Angel Pagan doubled leading off the second to extend his hitting streak to 11 games. Pagan, who has a hit in 31 of his last 32 games, scored on Joaquin Arias' sacrifice fly to put the Giants ahead.

After Brandon Crawford walked in the third, Melky Cabrera singled for the first of his four hits. Buster Posey's sacrifice fly extended San Francisco's lead to 2-0.

Lincecum's latest outing started strong and unraveled fast.

After five strikeouts in the first three innings, he walked Daric Barton to load the bases with one out in the fourth. Kurt Suzuki followed with an RBI single and Cowgill's two-run single gave Oakland its first lead of the series, 3-2.

Oakland's fill-in center fielder also handed San Francisco's struggling ace even more trouble.

Cowgill hustled home from second on Lincecum's wild pitch to Jemile Weeks. As Lincecum blocked the plate and waited for Posey's toss, the rim of Cowgill's helmet hammered him in the face, sending the pitcher tumbling backward, legs bent, in a scene that brought back memories of Posey's season-ending collision last summer with the Marlins' Scott Cousins.

Lincecum never corralled the ball and Cowgill scored to put the A's ahead 4-2. Giants trainer Dave Groeschner and manager Bruce Bochy rushed out of the dugout to look at Lincecum, who walked around gingerly for several minutes.

Lincecum finished the inning but was lifted for pinch-hitter Nate Schierholtz in the bottom of the fourth. With a runner at first, Schierholtz popped out.

Oakland had been scoreless in the 15 previous innings and didn't waste its first lead.

Colon pitched out of a bases-loaded jam in the fifth by striking out Pagan and Brandon Belt looking. The final strike against both came on a two-seam fastball that zipped back over the middle of the plate.

Reddick ripped a 90 mph sinker from Shane Loux over the 399-foot sign in center in the seventh. The two-run shot extended Oakland's lead to 6-2, and about the only drama left on a sun-soaked afternoon was listening to Cowgill endure boos from the fans each time his name was announced.

The A's ended their longest losing streak in one stadium since dropping 12 in a row at Milwaukee from 1992-95.

NOTES: Oakland slugger Manny Ramirez was scratched from Triple-A Sacramento's lineup with a sore left wrist after he went 0 for 4 with three strikeouts Saturday night in Albuquerque, N.M. A's manager Bob Melvin said it was a precautionary move and Ramirez expects to play Monday. ... Giants 3B Pablo Sandoval (broken bone in left hand) and 2B Ryan Theriot (right elbow inflammation) will rehab in Arizona while the team travels to Milwaukee for a three-game series starting Monday.