It's an informal and not very respectful way of referring to another person.
"So and so" is often used as a substitute for a person's name when giving an example, or it can sometimes be a substitute for an insulting name.
For example, if you complain to your friend that a particular shopkeeper was rude to you, your friend might agree and say "Yes, he's an old so-and-so, isn't he?". Here 'so-and-so' would mean a bad-tempered and dislikable person.