Final answer:
The statement in the question is false.
Step-by-step explanation:
The assertion in the question is false. The conflict referred to seems to be a misinterpretation of the Spanish-American War, which was centered around Cuba's struggle for independence from Spain and did not involve the U.S. fighting African soldiers after blockading Cuba. Instead, the U.S. Navy sank the Spanish fleet in the Caribbean and in the Philippines to help ensure Cuban independence.
The war ended with Spain agreeing to Cuban independence and ceding Puerto Rico, Guam, and the Philippines to the U.S. Notably, volunteer forces including a significant number of African American troops played a key role in the land battles, such as the Battle of San Juan Hill, where their bravery was essential.