I go back a ways, but this one kind of has me scratching my head. The fitting body looks to me like a sort of old “double hub” or a “tapped tee” fitting that I am aware of (that I believe was about a foot long, had normal mechanical joints on the run, and had on one side or both a formed boss for connections of smaller branched service lines. However, I believe at least standard bosses for that sort of thing were only designed for about a 2-1/2” maximum branch piping connection (and most of those by drill and tap/thread pipe joining, which is confusing in light of the separate, two-bolted gland or flange shown in the picture (unless that is some sort of add-on). Alternatively, this could have also been what was once referred to as a “monoloy tee”
In any case, it was a quite specialized fitting that indeed is no longer manufactured. As to a replacement, you might want to confirm exactly what (material etc.) the smaller "4"" (by tape or other measurement of the O.D. and I.D.) size of branch piping is (as the two bolts looks a little strange for a 4" size connection).
Also, if the connection on the branch is instead in effect some sort of hubbed mechanical connection, you might want to also confirm the installed perpendicularity of the piping since you reportedly intend to replace it with a flanged tee. Of course a mechanical connection can tolerate misalignment, whereas with basically rigid flanged piping there must be some sort of mechanical connection that allows deflection, bevel or adapter flange utilized if it is not.
I also believe it is possible the smaller branch piping might not necessarily have a modern ductile iron piping O.D., as there was at one time also “Monoloy”-sized piping (i.e. IPS or steel, not ductile iron sized piping that was involved with such items).
If you get a chance to look at this again, or once the fitting is removed/replaced, I would be curious of the actual year date cast on the fitting, and also what you find of pipe O.D.'s and also when you unbolt particularly the branch gland(s)/flanges.