Inflation has pushed the Federal Reserve toward a turnaround that will raise borrowing costs for millions of Americans and could cost jobs.