Matthew 8
28. And when he was come to the other side into the country of the Gergesenes, there met him two possessed with devils, coming out of the tombs, exceeding fierce, so that no man might pass by that way.
(Notice, this does not say two men)
Mark 5
2. And when he was come out of the ship, immediately there met him out of the tombs a man with an unclean spirit,
Luke 8
27. And when he went forth to land, there met him out of the city a certain man, which had devils long time, and ware no clothes, neither abode in any house, but in the tombs.
As God explains further, in Mark and Luke that there was a certain man that had devils a long time, who approached and met Jesus. These two accounts, God gives a detailed explanation of this man and what Jesus did for him. It seems to be that God separated the man from the unclean spirit and considered them separate from one another explaining the "two" being referred to in Matthew because these verses say:
5. And always, night and day, he was in the mountains, and in the tombs, crying, and cutting himself with stones.
6. But when he saw Jesus afar off, he ran and worshipped him,
(the man)
7. And cried with a loud voice, and said, What have I to do with thee, Jesus, thou Son of the most high God? I adjure thee by God, that thou torment me not.
(the unclean spirit)
8. For he said unto him, Come out of the man, thou unclean spirit.
9. And he asked him, What is thy name? And he answered, saying, My name is Legion: for we are many.
10. And he besought him much that he would not send them away out of the country.
(the unclean spirit)
Jesus was addressing the unclean spirit called Legion, who was many, but not the man, but had been talking about the man and what this spirit had done to him. Legion means a large group of soldiers or multidude, and as we see, 2000 swine went into the sea. This unclean spirit that Jesus was addressing, was the leader of this group of devils that had possessed this man. So the two being spoken of in Matthew was the man, and the unclean spirit called Legion.
No contradiction, and no need for a history lesson to understand this.
Love in Jesus Christ our Lord and Saviour,
michelle