A 23-year-old white man was arrested and accused of killing two black men and shooting up a black family's home in a string of attacks last week that police say may have been racially motivated.