How would you repair this?

If I had the metal I would make the bracket a 1/4" wider to cover the crack , weld it in, then weld the crack from under to the bracket. Both ways will work.