It was my understanding that, as a US citizen (assuming you are), even going to Cuba via another country was illegal except for State Department authorized humanitarian trips or to visit family that are Cuban nationals.
Maybe some others more familiar with this can correct this info?