Lewis Hamilton will race in the final Grand Prix of his Mercedes career this weekend before leaving to join Ferrari.