Jesus said, "I and the FATHER are One."
Ponder carefully, He did not say the FATHER and I are one, but rather putting Himself first claiming equality with GOD.
That is why more the more, the rage stirred up with the leaders of Israel, plainly due to blasphemy.
In the beginning itself, they wanted to throw Jesus off a cliff.
But just because His time has not yet come, they couldn't do anything to Him.
They even quoted furthermore in the Gospel, 'You, being a man, make yourself GOD.'
The Jews themselves that day were the firsthand eye witnesses to have heard, Jesus claiming to be God.
Only the blind of this generation we witness, are blindly denying and disputing the claim.
When Lord Jesus used the Sacred Title of The "I AM" for Himself, when speaking to the Jews at the end of John 8, Jesus was saying that He is part of the 3 Persons of The GODHEAD, God The Father, God The Son, and God The Holy Spirit.
By what you say above, it appears you might still be a little confused about the 3 Persons of The Godhead written in The Bible. Even Jesus' Name "Immanuel" means 'God with us', as written in Matthew 1:23, so don't you believe that?