Man accused in home invasions to appear in court