Hey mate!
I ve got the same year as a 4.4i and I typically have these issues you mentioned when the battery voltage is lower than the beemer wants it. The gear solenoids in the tranny are very sensitive to undervoltage. My bentley manual says that a battery voltage of 12.2 volts means 25% charge and I reckon when you are somewhere there that you will get these codes. I also get O2 sensor codes mostly bank 1 or tranny temp sensor issues. If you charge your battery with a good battery charger and a multi meter shows you like 12.8 volts or more then you will probably get rid of these issues. My alternator is on its way out so I get these codes more frequent now but when I charge the battery, it takes one or 2 days until they come back. Next time you have these codes, charge the battery, delete all the codes and see which ones on the same day will come back (with a fully charged battery).
I ve got the same year as a 4.4i and I typically have these issues you mentioned when the battery voltage is lower than the beemer wants it. The gear solenoids in the tranny are very sensitive to undervoltage. My bentley manual says that a battery voltage of 12.2 volts means 25% charge and I reckon when you are somewhere there that you will get these codes. I also get O2 sensor codes mostly bank 1 or tranny temp sensor issues. If you charge your battery with a good battery charger and a multi meter shows you like 12.8 volts or more then you will probably get rid of these issues. My alternator is on its way out so I get these codes more frequent now but when I charge the battery, it takes one or 2 days until they come back. Next time you have these codes, charge the battery, delete all the codes and see which ones on the same day will come back (with a fully charged battery).