Tucker Tharp hit his first home run of the season, Michael Suiter delivered the go-ahead run later in the seventh inning and seventh-seeded Kansas moved within one win of reaching the Big 12 championship game, beating Oklahoma State 5-3 on Friday night.
Tharp tied the game at 3 with his homer into the bullpen in left-center field off of Cowboys starter Tyler Nurdin (4-3). Justin Protacio then was able to score from second on Suiter's single after a collision at home plate.
Dakota Smith doubled and scored on a double-play grounder in the eighth to make it 5-3.
Frank Duncan (4-5) pitched two scoreless innings of relief for the win, and Jordan Piche got the final four outs for his 11th save.
The second-seeded Cowboys (39-16) were eliminated from contention for the conference title. Kansas (33-24) can reach the title game by beating TCU on Saturday.