I haven't done that, but I've replaced switches in my mice a couple times.
From what I have seen, these trackballs have the same type of 3-pin microswitches as most mice. There is a lot of info in the
Definitive Omron Switch Guide for Mice thread.
To replace them, you'd need a soldering iron, solder sucker and solder wick, and of course new solder.
If you are unfamiliar with soldering, there are quite a few "mouse switch replacement" guides on Youtube.
However, I suspect that there could also be wear on the plastic parts that press onto the microswitches, so I would recommend looking for that.
If there is, then do post a picture! Perhaps there is something that could be repaired/reinforced with application of epoxy putty and/or gluing on an additional piece of plastic, but it depends on how the part is supposed to work.
--
ps. "jagiapa9" above is not a real human, but a spambot account that reposted a post it had scraped off Reddit.
It has been reported.