とき氏神 うじがみであれば
tokino ujigamideareba

Noun
Da Copula

The "-eba" conditional form ("if/when…") of 時の氏神

1. If it is the local deity of the time; If it were the local deity of that time

Ba Conditional