If the cable has already snapped twice in the same spot, I would check not just the cable itself, but also how it is routed. There might be a sharp bend somewhere, or the plastic housing could be constantly pressing against it when the lever moves.
Compare the old and new cables in terms of length and mounting points. Sometimes a part that looks like a match works fine initially but wears out quickly due to a slight difference.