How many years does a person have to go to school to become an electrical engineer?

Should be at least a 4 year degree.