The sharpen is to “re-sharpen” the image since blur is a side effect of TAA.
It seems there are two scenarios. With and without motion blur. And I can only seem to produce ghosting with motion blur enabled.
The good thing is that it seems without motion blur higher sample count and lower FrameWeight works nicely.
So I see it as two separate problems.
TAA introduces blur. Using sharpen at 0.5 seems to nullify that. (if you sharpen without TAA you would of course over-sharpen the image)