I would not recommend doing that. The poor man's way of doing it is to figure out which one that you want the ECU to control as most important. Then get a shift light to activate the other solenoid.
Keep in mind that VTEC-e turns off at around 3000 - 3200 RPM. Traditional VTEC turns on at around 5800 RPM and should redline, tap out at about 7000 - 7200 RPM.
If you wire up both solenoids together, the engine is going to run like crap and honestly, you are not getting any benefit from this engine.
The correct ECU needed to run this engine are: P2J-003 for OBDIIa M/T, P2J-J11 for OBDIIb M/T, P2J-J61 for OBD2a CVT, and P2J-J62 for OBD2b CVT. Make sure that you get the right one for your application.
Otherwise, get a chipped ECU to run the engine more properly. I don't think Chipped ECUs will engage lean burn on these engines though. You can check out my old swap thread in my signature for more information about this engine. I converted my CRX to OBD2a to run this engine properly with my HF's transmission.