This question already has an answer here:
I travelled to the US as a tourist and lived there illegally for almost 9 years. I was never arrested, or had any trouble with the law. I was never deported. I paid my taxes (had a TIN), had a job, bank account, etc.. About 9 years ago I decided to leave as I was tired of living like that, not able to be legal, in fear of deportation and loosing everything.
Will I be allowed to enter US now, as I hold a different passport other than the one I overstayed with?