I don’t know if homebrew supports installing previous versions of hugo (someone correct me if I’m wrong).
You can always download the executable manually then add it to your PATH. See: Friendly reminder, you don't have to wait on a package manager then edit the download URL to be the hugo version you want.