Senator Bernie Sanders, the Vermont independent and 2016 Democratic primary runner-up whose populist policy agenda has helped push the party to the left, announced on Tuesday that he was running for president again, embarking on a bid that would test whether he could retain the anti-establishment appeal he enjoyed with many liberal voters three years ago.