They will ban both accounts. Just don't cheat and tell your family not to that's the only way. Unless if @Blake 's method works.
It's not a method. It's a fact.
I have a couple of friends that cheated before boosting ranks was taken out of the game and their mains aren't banned. It's because they removed the cheats from their computer before playing on their main account.