Star Wars was definitely not a billion-dollar franchise at that time. Alec McGuinness famously negotiated to earn a percentage of gross revenue, because the salary offered was a pittance and he didn't expect any profits to ever be generated by such a bad production. And Ford had already worked as an actor in American Graffiti.
https://en.wikipedia.org/wiki/Harrison_Ford
It's Hollywood, every busboy and valet is a role deficit actor in waiting.