If the caps are retained with an injected plastic looking stuff, You’ll need to heat the ends of the shaft, where the trunions of the u joint goes through, to melt out that plastic.
The plastic will oooze out like a worm, be careful, it sometimes will pop and splatter, could burn an eye out.