A growing number of Americans in their 30s and 40s are changing careers, reflecting a shift away from traditional, linear career paths toward more flexible and purpose-driven work.