Police had responded to the scene to break up a street party following a parade, where they encountered a suspect with a gun