The underlined word in sentence 1 is an appositive.
In the context of the sentence, "to be a steamboat man on the Mississippi River" serves to describe or rename the subject "the desire." An appositive typically provides additional information about a noun and is often set off by commas, but in this case, it is essential to the meaning of the noun it describes.