Yes you can pick up again at age 40, assuming right to work in the US. There are good employment opportunities here for the rest of the decade at least.
If you'd be flying in another other country, you'd need to research the state of the industry there.