Whether you can sell games made with The Games Factory 2 depends entirely on the license terms of the version you own. With The Games Factory Pro, the license states that you are allowed to sell the standalone applications you create with it.
The other, standard versions of the original Games Factory, however, state that you are not permitted to sell the games you make. So if selling your creations is the goal, the Pro version is the one that grants you that right.