The president announced his intentions to support his former Republican primary opponent in a post on Truth Social.