McCrory to be sworn in Jan. 5