Dog and owner switch lives