Based on the comments following on from this question, I think there is a confusion about different uses of the word such. In particular it can be an adjective ...
Of the character, quality, or extent previously indicated or implied.
In the past few years many such women have shifted to full-time jobs.
... or an adverb ...
To such a degree (=so)
such tall buildings
such a fine person
(This from Merriam-Webster)
Now consider this sentence from the OP:
He is such a bad person whom no one wants to talk to.
He the grammar is not quite correct, and it's because we are mixing the two forms of such. The basic sentence is:
He is a bad person whom no one wants to talk to.
No we can add such in both senses, adjective/adverb. But the grammar in each case is different.
Adjective - He is a bad person, such as no one would want to talk to.
Here such (as) means of the kind that. As noted, it is old fashioned, and today we are more likely to say He is the kind of bad person whom no one would want to talk to.
Adverb - He is such a bad person that no one wants to talk to him.
Here such is an intensifier: Not only is he bad, he is so bad that no one wants to talk to him.