Were African Americans colonized or immigrated to the US?

Neither, they were "imported". Colonization would imply that they were natives to the US prior to European arrival and immigration would imply that they freely chose to come the US. African-Americans are the descendants of African slaves who were captured and transported against their will from Africa to the Americas where they were bought by local wealthy individuals.