Let a ring $R$ be a finite union of fields all having the same unit. I want to prove that $R$ is itself a field.
I wrote $R=\bigcup _{i=0}^{n}F_i$, with $F_0=\{0,1\}$ and $F_i$'s are fields. Since we deal with a finite union, there must exist $j\geq 1$ such that $F_k\subseteq \bigcup _{i=k+1}^nF_i$ for $k<j$, but $F_j\nsubseteq \bigcup _{i=j+1}^nF_i$ . Then I put $B=\bigcup _{i=j+1}^nF_i$. Certainly, we have $R=\bigcup _{i=j}^nF_i$. I tried to show that $R=F_i$, for one of the latter $F_i$'s. Suppose not, so we could choose $b\in B-F_j$ (because $F_j\neq R$) and $a\in F_j-B$. The element $ab\in R$ is either in $F_j$ or in $B$. In the first case, $b=a^{-1}ab\in F_j$, which is a contradiction. In the other case, could we deduce that $a=abb^{-1}\in B$ to reach a contradiction? In fact, $b$ and $b^{-1}$ are both in $B$. But, we are not sure whether $B$ is multiplicatively closed to reach the desired contradiction.
Any help is appreciated!
Warning: This argument has a gap. I need the following result:
Lemma. Assume that $V$ is a vector space over a finite field $K$ such that it is a finite union of proper subspaces $V_i, i=1,2,\ldots,n$. Then at least for some $i$ we have $\dim_KV/V_i<\infty$.
This is very likely true, and for some reason I thought it would follow from the argument in my linked answer. Unfortunately it doesn't, and I don't see a way to close this hopefully small, but crucial gap. Leaving the rest on for now in case it inspires someone else (sleeeeeepy).
Building upon Chan Kifung's comment.
Let $K=\bigcap_i F_i$. Clearly $K$ is a subfield of all the fields $F_i$ and, in turn all the fields $F_i$ as well as $R$ itself are vector spaces over $K$.
By the results of this thread a vector space can be a finite union of proper subspaces only when the field $K$ is finite and some (actually many) of the subspaces have a finite codimension.
If some $F_i$ is all of $R$ we are done, so we are left with the case $|K|<\infty$ and can infer that there exists at least one subfield $F_i$ such that $\dim_K(R/F_i)$ is finite. But, as $F_i$ was assumed to be a proper subspace of $R$, we have $\dim_{F_i}R>1$ and hence $\dim_{F_i}(R/F_i)\ge1$. On the other hand $$ \dim_K(R/F_i)=\dim_{F_i}(R/F_i)\cdot \dim_K F_i\ge \dim_K F_i, $$ so we can conclude that $\dim_K F_i<\infty$ and hence $F_i$ is a finite field. But by the above reasoning this implies that $\dim_KR=\dim_K F_i+\dim_K(R/F_i)<\infty$.
The conclusion is that $R$ is a finite ring. It was pointed out by many that $R$ is necessarily a division ring. A theorem by Wedderburn states that any finite division ring is commutative, i.e. a field.