Caribbean country to become republic