Two people were nearly hit by gunfire after a drive-by shooting in Millersburg, Linn County deputies said.