わりであれば
irekawarideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 入れ替わり

1. If exchanged; If replaced; If swapped

Ba Conditional