Brian, I always make sure the cable end is fully seated and the cable tensioned by holding the end of the loose cable(where it's going to attach to the brake) with one hand, and actuating the lever with the other hand. With the lever actuated, pull on the cable, alternating pulls from lever to cable end, back and forth. It ought to be a solid, direct feel back and forth, with an easy glide to it and no catching !
This said, are the raw cable ends you cut filed flush and the hole open with no burrs ? And are the cable end ferules fully seated against the flush face of the cable ends ? Are both end of ferruled cable butted tight against their respective cable stops ? Just covering the basics as they're important with brake cables.