Its called 'parent swap' and please ask a ride attendant when youre going to do it!
One needs to ask the ride attendant to let the person with the toddler get on the next ride while the rest members of the group go and get the ride. I guess there should be no problem in that as the person with the child has waited in the line for the ride.
Thanks! Your answer is awaiting moderation.