you could have this structure
this is the PROJECTS table (here are shown all the field but you can hide the lookup field "Name (from Teams) and "Current Team Leader (from Teams)".

this is the TEAM table where you have the "Current Team Leader" field for your Team that you can change (linked record to last table "Team Leader Proj")

and this is the last table "Team Leader Proj"

then the you have this automation that as soon as you assign a TEAM to your PROJECTS table update the record of the project with the "current leader" of the that TEAM

these are the conditions:

and here you update the "Team Leader Projects" linked field record of the PROJECTS table with the value of the "Current Team Leader (from Teams)"

hope this helps....