I don't think this is governor related.
But your rev-limiter might be acting up. There have been a few people with W124s who have had that problem lately.
Does it only do this in 3rd gear? Does it only rev to 5k in 1st and second gear also? And is it exactly at 5k or whatever? Or is the "bogging" down gradual? (IE, starts at 5k, and goes to 5500 when it's really bogging). And when it hits that 5k mark, is it a pattern "bogging" down? DOes it let it rev and then cut, rev then cut? I am curious because this may help determine if it is your reve limiter.
But I don't think it sounds like a serious powertrain issue or anything like that.
Good luck and welcome!!