If I was a ghost I would try help them as much as I can, not prank them. Idk what influence I'd have, maybe I can appear in influential people's dreams and influence them to do better.
I'd cook people flavorful meals, packaged up and ready to grab in the morning. Maybe they'd come home to a dinner spread after a rough day. And then I would infiltrate banking systems and regularly but stochastically credit poor people's accounts with amounts below the revenue departments structuring threshold.
Finally, I'd find people with test anxiety and coach them through the problems.
Slightly move things in people's house. Like every day your kitchen table is in a slightly different position, not different enough to realize what's going on, just different enough to be slightly confused
I'd go to billionaires and politicians, and give them panic dreams about burning in hell, haunt them during the day,band convince them that there is indeed an afterlife, and they are going to be tortured for eternity if they do not work to fundamentally restructure society to the benefit of the worker.
I'd also convince them that they have to publicly execute certain individuals
I'd start appearing at various churches dressed as Jesus talking about "Wait till my father gets done with his latest project and has time to deal with y'all again" to see how many of them say "You mean it's actually real?"
Turn the digital clocks upside down. Did this accidentally to myself once and when I saw it at night I thought for a moment the universe had disintegrated. Startled pretty bad.
Screw all of humanity. Fake nuclear bomb/missile launches on radar in order to jumpstart the next age of humanity.
I won't be alive to deal with the consequences if someone does accidentally end up firing nukes because of my ghost, so why not make humanity suffer for my amusement?