Sen. John Thune has won an internal election among Republican senators to become the chamber’s next majority leader.