Device and method for manufacturing crown gear