Welcome to the Airtable community!
Is there a particular reason why you want to do this in a script?
If you want to run this as an automation, you don’t need a script. A simple Update record action will do the trick.
There is a free script on the Marketplace for updating a single-select field. You could use that as your starting place.