No a judge cannot overrule a hung jury. The only remedy is a new trial.
The jury instructions will be to vote GUILTY or be in contempt of court.