How would you do it? Material for randomly light/dark City Building Windows

You’re probably overthinking it and can get away with just having a simple texture with randomly lit windows. If you really want to, you can cut some parts into the surface of a building and then adjust the UV’s of that area to randomize it more.