 He returned to Spain after nearly nine years on 31 January 2017, signing with Segunda División club Rayo Vallecano.On 6 July 2017, Gómez signed a two-year deal with Bulgarian club PFC Levski Sofia.Thirteen months later he switched countries again, to AC Omonia of the Cypriot First Division.