In his nearly five decades at the very top of American politics, Joe Biden has often been an embarrassment to the nation — flip-flopping on issues like war, immigration and taxes, spouting disturbing racial comments and helping broker unsavory deals to enrich his family.