Does nitrogen gas consist of a molecule of two nitrogen atoms?

Yes. Nitrogen gas has the formula N2. A molecule of nitrogen gas consists of two atoms of nitrogen covalently bonded.