In the past I worked on a lot of these type gearboxes fitted to the 124 Coupe model ( same g/box). There are a number of things that can cause the problem you describe, all require stripping the gearbox to correct . The only thing that might cause this problem that can be accessed with the transmission in the car is the detent mechanism,(i.e the ball bearing and spring arrangement). This is located on the side of the gearbox main (ribbed) casing just before the tailhousing, its under a metal plate about 2 inches long with rounded ends held on by 2, 8 mm nuts or bolts (13mm wrench size). You may need to drop the rear of the gearbox down for access. Under this plate there are 3 springs holding 3 ballbearings against notches in the selector shafts. When a gear is selected, a ball bearing is pushed into one of these notches to hold the gear in engagement until the gearlever is moved to select another gear.The ball for 3rd/4th gear could be sticking?
However this problem would probably also affect 3rd gear as well so its a long shot! Its likely that some damage has been caused by the jumping out of 4th gear anyway so as your contact Csaba has said a gearbox strip and overhaul is best.
Re: trying a different viscosity (thickness) of oil, I don't see this helping, if you go thinner, the gearbox will likely be noisier, if you go thicker, the synchromesh action may be adversly affected. I think you problem is a mechanical one not an oil one.
Al.