to the day of his death
"until the day he died"
Jotham, the king's son, was over the household
"had authority over those in Azariah's palace". Because Azariah was a leper, he had to live in a separate house. So his son, Jotham, took charge over the palace.