If Clinton died between now and November the Democratic Party would hold an emergency meeting to select a replacement, if she died after the electoral college voted (and if she had won) the VP-elect would become President. Election laws vary depending on the jurisdiction and contest.