Elohiym:
The KJV translates Strongs H430 in the following manner: God (2,346x), god (244x), judge (5x), GOD (1x), goddess (2x), great (2x), mighty (2x), angels (1x), exceeding (1x), God-ward (with H4136) (1x), godly (1x).
(https://www.blueletterbible.org/lang/lexicon/lexicon.cfm?Strongs=H430&t=KJV)
By the above and used within the proper context elohiym was used for false gods (small g) as well.
There is no relation to “Allah” from Elohiym. Just as one cannot get Deus from Allah. Only in the minds of Muslims and Muslim apolgists.
If what you state is accurate, you still cannot explain how Allah is YHWH. You can’t because YHWH is not Allah. From Genesis chapter 2 God is named YHWH Elohiym. There’s the distinction one can only see in the Hebrew or using an English translation which does not follow the tradition of not saying or writing The Name YHWH but as Hashem.
I won’t ask you the question, but ask you to seriously consider if one should claim Allah of the Qur’an is YHWH of the TaNaKh.
My answer is a resounding no.
Below is a good Hebrew parallel site. Even has the Latin Vulgate which sheds some light on the matter too.
http://www.hebrewoldtestament.com/index2.htm
I did not ask about the KJV. I asked if you believe in “God” or “Elohim?”