WASHINGTON—President Trump said a second of his picks for a Federal Reserve position was out of consideration following resistance from Republican senators, a further setback to his efforts to place political allies at the central bank.

Mr. Trump tweeted Thursday that conservative commentator Stephen Moore “has decided to withdraw from the Fed process.” The announcement came less than two hours after Mr. Moore told The Wall Street Journal and other news outlets that he would continue to seek the nomination.

A...