Complex sentence: This would assume that things are still the way they were, and that the "switch" was not successful, so that the marriage was the methods so they could both still be with their retreospective daughter and mother.
Split into simpler sentences: This would assume that things are still the way they were, and that the "switch" was not successful. The marriage was the method by which they could both still be with their respective daughter and mother.