A commercial building caught fire in downtown Passaic on Sunday and firefighters battled the flames throughout the night.