Franscisco thanked to the driver to get work.

(Is this a correct sentence?)

No. Did you mean

Francisco thanked the driver for taking him to work.