No. Both had been planned well before they took office.
Pearl Harbor was different. FDR knew the date, time and location of the attack. He left those stationed there sitting ducks. He let it happen to rev up the people so they would support the war. Until the attack, most people did not want to get involved in that war. This later was not denied by the media. Documentation supports this.
Bee Ess.