This is an investigational study. Vorinostat is FDA approved and commercially available for the treatment of cutaneous T-cell lymphoma. Azacitidine is FDA approved commercially available for the treatment of MDS. The combination of these drugs for use in patients with intermediate-1 or higher risk MDS and AML is investigational.