I do not believe that when the Military takes control they will be able to just install Trump as the President. Rather, I believe the military will call for and oversee a new election. Ballots will be printed, each party will nominate a candidate and the election will proceed. Trump will defeat the Democrats a 3rd time.
However we will also be dependent on the military to charge and remove those who participated in the coup from office and the bench.
This post was so good that I did a copy/paste to some friends who are becoming awake.