A North Carolina man was fatally shot by a sheriff’s deputy in Elizabeth City on Wednesday morning while law enforcement officers were executing a search warrant at the person’s home, officials said.