A night shift is either a group of workers who work during the night, or the period in which they work.
A night shift is a group of workers who work during the night. It can also describe the period in which they work.