Did you get a Non–O Retirement E–Visa from a Thai Embassy/Thai Consulate outside Thailand or did you get a Non–O Retirement Visa ink Stamp from a local Thai Immigration Office inside Thailand??
Perhaps it's more straightforward to just modify your travel plans to arrive in Thailand a week later and then have sufficient time to transfer all of your Thai immigration stamps into your new passport
Well, what country are we talking about here? because every country his different laws, regulations, and policies for different family members and immigration status of that country
also, for nearly all countries, the age of the child is an important criteria to consider