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.
I actually like your scenario better, but I think it will be a steeper hill to climb. Let's see which one happens. I think we are agreed that it all needs to happen sooner rather than later.