We present a statistical-mechanical model for the positioning of nucleosomes along genomic DNA molecules as a function of the strength of the binding potential and the chemical potential of the nucleosomes. We show that a significant section of the DNA is composed of two-level nucleosome switching regions where the nucleosome distribution undergoes a localized, first-order transition. The location of the nucleosome switches shows a strong correlation with the location of gene-regulation regions.