Man who allegedly shot at Galveston County deputy and fled law enforcement now in custody