Four arrested in shooting that injured homeless man