Thai lawmakers on Wednesday turned to the brother-in-law of deposed leader Thaksin Shinawatra to be the new prime minister , setting up a showdown with protesters determined to tear down his political legacy .