Two Dunkirk men have been charged in connection with the drive-by shooting on Friday morning that led to a chase through the city and the village of Fredonia.