Willie Randolph hit a three-run homer into a 30 mph wind in the second inning to lead the New York Yankees to their first victory of the season, 10-7, over the Texas Rangers last night in Arlington, Tex.

Dave Righetti, winning his first game ever over the team that traded him four years ago, allowed only an unearned run through seven innings. Shane Rawley pitched out of ninth-inning trouble for his first save as a Yankee.

Loser Frank Tanana, making his first start for Texas, gave up six runs in 3 2/3 innings.

The Yankees, the last major league team to win a game this season, got 14 hits and put the game away early with a four-run second inning. Lou Piniella led off the second with a single and was forced at second by Bob Watson. Graig Nettles singled, and Rick Cerone drove in the first run of the game with a single. With two out, Randolph homered off the top of the left-center field wall.

Jerry Mumphrey singled home two unearned runs in the fourth, thanks to an earlier error by third baseman Buddy Bell.

Dave Winfield's leadoff home run in the fifth gave the Yankees a 7-1 lead. They scored again in the seventh when Piniella singled and Watson doubled.