The Baltimore Orioles ended their 19-game losing streak against the New York Yankees on Friday night with a 6-3 win in the second game of a doubleheader at Camden Yards.