A 5.2-magnitude earthquake struck near Julian Monday morning, according to the U.S. Geological Survey.