A man allegedly hurled racial slurs to neighbors before pouring gasoline on their property and setting it on fire.