The only risk when adding something new (non-fish) is that a protomont hitched in with the new item, crawled around and encysted onto the shell of the shrimp. Highly unlikely, but a risk none-the-less. That would have happened within around 24 hours. So if there were a couple/few days in between the molt, you are good to go.
Know that the only other risk involved is that there is a theront recently emerged from a cyst that is on the shrimp or in the small amount of water transferred with it. The theront will only live for 24 hours if it doesn't find a fish. The likelihood of the theront transferring over is seemingly tiny, but is a risk none-the-less. If you want to be absolutely sure of things, then house the shrimp in a clean separate container for 24 hours before transferring him into the DT. I personally wouldn't take that final step, but to each their own for personal comfort.