The Central African Republic has agreed to take in migrants from other countries deported by the United States, two sources with knowledge of the matter said.