You can change your filing status by filing an amended return using Form 1040X.
If you or your spouse (or both of you) file a separate return, you generally can change to a joint return any time within 3 years from the due date of the separate return or returns. This does not include any extensions. A separate return includes a return filed by you or your spouse claiming married filing separately, single, or head of household filing status.