This person invented a machine called a ''lasting machine that stitched the leather of a shoe to it sole?

The person who invented the "Lasting Machine" that stitched leather of a shoe to its sole was Jan Matzeliger.