Mr. Rubio had been the acting head of the National Archives since early 2025, after President Trump fired its previous chief.