Width: If measuring the ujoint, measure the distance to the outer edge of the snap ring grooves. If measuring the end yoke, measure from the inside flat of one yoke ear to the inside flat of the other ear.
Cap Diameter: If measuring the ujoint, simply measure the ujoint cap. If you are measuring the end yoke, measure the width of the opening where the cap sits in the yoke.