Factors that can affect the timeline for becoming a doctor include the type of undergraduate degree obtained, the time it takes to complete medical school and residency, and any additional training or research opportunities pursued.