The Barzini soldiers were already at the booth when Sonny was riding past. They either paid off the toll booth attendant or dressed up one of their own soldiers in disguise.