Is this sentence grammatically correct and readable?

Solution 1:

The phrase that of is incomplete without a noun, at least in common usage. The bad and good are adjectives. So yes,

"...is bad or good"

is appropriate. To keep the of (which you don't need), you could say something like

"... that of a bad person or that of a good person"

but there no need.