Xylanase is an essential component used to hydrolyze the xylan in wheat flour to enhance the quality of bread. Presently, cold-activated xylanase is popularly utilized to aid in the development of dough. In this study, ancestral sequence reconstruction and molecular docking of xylanase and wheat xylan were used to enhance the activity and stability of a thermophilic xylanase. The results indicated that the ancestral enzyme TmxN3 exhibited significantly improved activity and thermal stability. The Vmax increased by 2.7 times, and the catalytic efficiency (Kcat/Km) increased by 1.7 times in comparison to TmxB. After being incubated at 100 °C for 120 min, it still retained 87.3% of its activity, and the half-life in 100 °C was 330 min, while the wild type xylanase was only 55 min. This resulted in an improved shelf life of bread, while adding TmxN3 considerably enhanced its quality with excellent volume and reduced hardness, chewiness, and gumminess. The results showed that the hardness was reduced by 55.2%, the chewiness was reduced by 40.11%, and the gumminess was reduced by 53.52%. To facilitate its industrial application, we further optimized the production conditions in a 5L bioreactor, and the xylanase activity reached 1.52 × 106 U/mL culture.