Ford posts record quarterly pretax profit of $3.8 billion