ARLINGTON, Texas (AP) Adam Kennedy homered twice, including a one-out tiebreaker in the ninth for the first run allowed by Texas reliever Frank Francisco this season, and the Oakland Athletics ended a four-game skid with a 5-4 victory over the AL West-leading Rangers on Sunday.

With the game tied, Kennedy hit a 1-0 pitch off Francisco (1-1) into the right field seats, ending a streak of 28 appearances without allowing an earned run. Francisco had 17 2-3 scoreless innings in his first 17 appearances this season, the most in the majors without allowing a run.

Andrew Bailey (4-0) pitched the final 1 2-3 innings to earn the win.

A's starter Dallas Braden allowed two runs and five hits over six-plus innings before exiting with a cut on his left thumb. He struck out six and walked two, turning in a performance similar to his last start in Texas on April 30 when he pitched five shutout innings in a 4-2 victory.

Braden gave up a two-out double in Andruw Jones in the first, and retired 11 in a row into the sixth after the Rangers had outscored the A's in the first three games of the series, 25-6.

Jason Giambi also homered for Oakland.

In the sixth, Texas got one-out singles from Ian Kinsler and Michael Young, but Braden struck out Jones and Nelson Cruz to preserve a 2-0 lead.

Braden faltered in the seventh, allowing a leadoff single to Hank Blalock and a double to Marlon Byrd. After Byrd's hit, A's manager Bob Geren and a team trainer went to the mound and Braden's day was over due to the cut on his thumb.

Geren brought in Craig Breslow, and one out later, Jarrod Saltalamacchia's two-run double pulled the Rangers within 4-2.

The A's carried a 4-2 lead into the eighth before the Rangers rallied against the Oakland bullpen on Hank Blalock's RBI single and Marlon Byrd's run-scoring infield single, both off Bailey.

Oakland had eight baserunners against Texas starter Kevin Millwood in the first four innings but managed only one run.

Millwood allowed two runs and five hits in six innings, striking out five and walking two while throwing 116 pitches.

Reliever Derek Holland's seventh-inning balk scored Orlando Cabrera from third, and Jack Cust followed with an RBI single to make it 4-0.

Kennedy's solo homer in the first gave Oakland early momentum, and Giambi's sixth-inning blast made it 2-0.

A's center fielder Ryan Sweeney's leaping catch at the wall denied Kinsler's home run bid leading off the first. Sweeney's full-extension grab robbed Kinsler of a three-run homer in the eighth inning of the game at Arlington on April 30.