If you did not explicitly program anything into the device to force it to magically join again, then there’s no way to do that remotely.
So, you would need to know the previous DevAddr, NwkSKey, AppSKey (as generated during the OTAA join of the old device), and the values for the uplink and downlink frame counters of the old device. If you happen to know all that, then I think you can use ttnctl devices set
to force TTN to use the details of the old device, like:
ttnctl devices set <device id> --dev-addr <old DevAddr>
ttnctl devices set <device id> --nwk-s-key <old NwkSKey>
ttnctl devices set <device id> --app-s-key <old AppSKey>
ttnctl devices set <device id> --fcnt-down <old downlink count>
ttnctl devices set <device id> --fcnt-up <old uplink count>