Remove that throttle gear wheel from its axle, inspect it and the throttle tube gear to which it mates for broken teeth. Broken teeth can interfere with rotation. If both gears are okay, thoroughly clean the housing with solvent the lube the works with white lithium, silicone grease, or silicone spray because it looks like a mess in there, unless the gummy appearance is a photo artifact. If the throttle cable was a BMW cable and the previous owner tried lubing the cable channel with oil, it's likely the cable's teflon lining turned into goo and is obstructing smooth operation.
Verify that the tic marks of the cable gear and the throttle gear align on reassembly and verify there is no rubbing of the throttle tube assembly on the switch housing.