Before the Permian extinction synapsids occupied large land animal niches. After the permian extinction some synapsids occupied large land herbivore niches, but most large land animal niches were filled by archosaurs and their relatives, and after the Triassic no synapsids would occupy large land animal niches until after the KPG extinction. Before the KPG extinction dinosaurs occupied large land animal niches, and after the extinction some of the surviving avian dinosaurs continued to occupy large land animal niches but most of the large land animal niches were filled by mammals.
In the case of the Permian extinction synapsids didn't need to go completely extinct to get replaced in terms of what was filling the large land animal niches, and similarly dinosaurs didn't need to go completely extinct for mammals to largely replace them in terms of filling large land animal niches.
After a mass extinction caused by a nuclear war, in which enough nukes are detonated to wipe out 99% of plant and animal life including humans, would mammals likely still be the animals occupying large land animal niches or would they get replaced by other animals? If mammals got replaced as the animals filling large land animal niches what would most likely replace them?