Drake Maye threw two touchdown passes and rushed for a score as the New England Patriots came back to beat the Miami Dolphins 24-19 on Sunday.