With my limited understanding ...you are correct on the theroy of formation.
The size of the star will depend on the amount of hydrogen (& other elements) present in the molecular cloud the star forms from.
Often stars are formed when the shockwave of a super nova compresses the gas clouds.
There are many ways a star can form and die , I think we will all spend a lifetime learning about this