Usually used adverbially as 代わり番に, meaning 'by turns' or 'in alternation'.
The children took turns on the swing.
We drove long distances by taking turns at the wheel.
Standard kanji spelling.
Variant spelling using 代り instead of 代わり.
Compound of 代わり (substitute, replacement) and 番 (turn, watch). The exact historical derivation is uncertain, but the word has been used since at least the Edo period to mean taking turns.