99 Ram trans problem

Sounds like an engine running problem if it only does it in the morning.
I agree with checking codes before throwing parts at it.