A man was sentenced to 32 years in prison for an “execution-style” shooting that left a man hospitalized in Ventura County.