Former Formula One driver Robert Kubica will step up to the top class in the 2014 World Rally Championship in an M-Sport-prepared Ford Fiesta WRC.