Catalysis of the formation of new phosphodiester bonds between a pair of short, unique DNA target sequences; occurs through a phosphotyrosyl intermediate in which the target sequence is first cleaved by the nucleophilic attack by a tyrosine in the active site.