It's a common phrase that describes the act of sticking out your thumb to signal to a passing vehicle that you'd like a ride.
For example:
* "We ran out of gas, so we had to thumb a ride to the nearest gas station."
* "She decided to thumb a ride to the beach instead of taking the bus."