April 25, 2017 0834 GMT
Esteban Santiago, a 26 year-old resident of Anchorage, Alaska, was taken into custody immediately following the shooting on Friday and questioned at length, according to officials at the Federal Bureau of Investigation (FBI).
FBI agent George L. Piro, who is in charge of the Miami field office, said Santiago would be facing federal charges and will appear in federal court in Broward County on Monday.
Authorities said Santiago, an Iraq war veteran, suffered from psychological problems and had complained that the US government was controlling his mind.
Santiago retrieved a semi-automatic handgun from his checked luggage and began firing indiscriminately after arriving in Fort Lauderdale–Hollywood International Airport from Alaska.
"After he claimed his bag, he went into the bathroom and loaded the gun and started shooting," Broward County Commissioner Chip LaMarca said.
One witness said the attacker kept shooting until he ran out of ammunition for his handgun.
The airport remains closed and planes scheduled to land there have been diverted to other airports in Florida.
"This is a senseless act of evil," Florida Governor Rick Scott told reporters.
A White House spokesman said President Barack Obama had spoken to Scott and other state officials. Obama said such tragedies had happened too often during his eight-year-term in office.
Incoming President Donald Trump said that it is a "disgraceful situation that's happening in our country and throughout the world" and that it was too soon to say whether it was a terrorist attack.
Santiago was sent to Iraq in 2010 and spent a year there as a combat engineer while serving the Puerto Rico National Guard. He later joined the Alaska National Guard.
His family members said he had been receiving treatment for mental problems which began after he returned from Iraq.
Maria Luisa Ruiz, Santiago’s aunt from Union City, New Jersey, said, "He lost his mind. He said he saw things."
A federal law enforcement official said Santiago had entered into an FBI office in Anchorage in November and was behaving erratically and was turned over to local police, who took him to a mental facility for evaluation.
During that visit, he told FBI agents that his mind was being controlled by a US intelligence agency, which was ordering him to watch videos by the Daesh (ISIL) terrorist group.