Rick Dempsey's two-run double capped a three-run sixth inning and led the Baltimore Orioles to a 5-4 victory over the Tigers for a split of their doubleheader yesterday in Detroit.

In the first game, Darrell Evans had four hits and three RBI as the Tigers broke an eight-game losing streak with a 10-3 victory.

With the Tigers leading the second game by 3-1, Eddie Murray doubled to open the Orioles' sixth and scored on Mike Young's single. Floyd Rayford reached safely on an error by shortstop Alan Trammell, and two outs later, Dempsey doubled to deep center field, driving in Young and Rayford and giving Baltimore a 4-3 lead.

The Orioles increased their lead to 5-3 in the seventh on Cal Ripken's single, Murray's second double of the game and walks to Young and John Shelby.

Winner Mike Flanagan (3-4) went 6 2/3 innings and Tippy Martinez earned his fourth save.

Detroit scored three times in the fourth as Barbaro Garbey and Chet Lemon homered.

Baltimore scored in the fifth when Alan Wiggins beat out a bunt and took second on a throwing error by Mickey Mahler (0-2). Lee Lacy followed with an RBI double.

In the first game, Detroit used a six-run fourth inning to take control. With one out and the Orioles leading by 1-0, Lemon singled, took third on John Grubb's single and scored when Baltimore third baseman Rich Dauer mishandled Tom Brookens' grounder. One out later, Lou Whitaker doubled home two runs and Evans drove in Whitaker with a single. Evans took second on right fielder Lacy's error and scored on Kirk Gibson's single.

Bill Swaggerty relieved Mike Boddicker (12-16) but gave up singles to Lance Parrish and Nelson Simmons for the Tigers' sixth run. Boddicker has lost nine of his last 12 decisions.

Rayford and Lenn Sakata homered for the Orioles. Rayford, who has 14 homers, had accounted for Baltimore's first run in the fourth when he doubled, stole third and scored on Sakata's groundout.