Topping now at node 4–5 is fine, but to keep shock minimal I’d repot first, let her recover for 3–7 days, then top and immediately LST the new shoots. That way the roots get space before you stress the plant above, and you’re not stacking transplant and topping at the same time.
If you top before transplant, you risk slowing recovery twice—instead: pot up, wait until you see fresh stretch, snip the top at the 4th/5th node, then gently bend your side branches.
Nonetheless, at my latitude it would be probably the last 2 or 3 weeks for outdoor training - watch out for that if they are going to bloom soon I would top immediately or not at all.