The construction of the Transmutation Experimental Facility (TEF), which will be located in the downstream region of the 400-MeV Linac, will allow collection of fundamental data regarding the design of the accelerator-driven system at Japan Proton Accelerator Research Complex (J-PARC). To select a beam destination for each pulse between the TEF and the 3-GeV rapid cycle synchrotron, we are developing a beam-switching pulse magnet system. Magnetic field calculation of the pulse bending magnet has been performed using POISSON and OPERA 3D for the magnet design. From the field calculation results, we fabricated a prototype of the pulse bending magnet with correction magnets and compared the measurement field results with the calculation results. In this paper, the design and fabrication of the beam-switching magnet are described.