Changing the TID or SID of a Pokémon is borderline impossible, unless turning it into an egg and hatching it is ok to you.