A Black family said they were inside their home in a suburb of Detroit when they were subjected to a "racially motivated" attack.