Trump will run again, if only to prevent being indicted. Should he lose, the day before the new President is sworn in Trump would resign, making Pence the President (for one day), and Pence would pardon Trump before the new President is sworn in.
Easy peasy, scot-free cheesie.