Homeowner catches burglar, shoots him in the arm