you
This is plural and refers to the people of Israel.
cast lots
See how you translated this in Ezekiel 45:1.
This is the Lord Yahweh's declaration
"This is what I, the Lord Yahweh, have declared". Yahweh speaks of himself to express the certainty of what he is declaring. See Ezekiel 5:11.