An earthquake of preliminary magnitude 5.1 struck just off the coast of Cuba today, causing shaking as far away as southern Florida, according to the U.S. Geological Survey (USGS).