Can the cosigner sell the house if his name is not on the deed and the primary borrower has missed 3 payments?

No. If you are not on the deed, you can't sell the property. The only "right" you have as a cosigner is the obligation to make the payments.