This paper proposes a new genetic algorithm called the age structured genetic algorithm (ASGA) to address issues of premature convergence and bias in traditional genetic algorithms. The ASGA introduces an age structure that allows parents and offspring to coexist in populations over multiple generations. The paper applies the ASGA to optimize the organization of a press machining line as an example of a self-organizing manufacturing system. Numerical simulations demonstrate that the ASGA improves the press line's makespan, or total processing time, by up to 10% compared to traditional genetic algorithms and performs best on more complex problem instances. The ASGA helps maintain genetic diversity in populations and finds better optimizations for scheduling flexible manufacturing systems.