#include <bits/stdc++.h>
using namespace std;
const string T = "abacaba";
bool check(string s) {
  int cnt = 0;
  for (int i = 0; i < s.length() - 6; i++)
    if (s.substr(i, 7) == T) cnt++;
  return (cnt == 1);
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t;
  cin >> t;
  while (t--) {
    int n, f = 0, q = 0, qq = 0, p = 0;
    cin >> n;
    string s;
    cin >> s;
    bool flag = true;
    for (int i = 0; i < n - 6; i++) {
      string ss = s;
      bool f = true;
      for (int j = 0; j < 7; j++) {
        if (s[i + j] != T[j] && s[i + j] != '?') {
          f = false;
          break;
        }
        ss[i + j] = T[j];
      }
      if (f && check(ss)) {
        flag = false;
        cout << "Yes" << endl;
        for (int i = 0; i < n; i++) cout << ((ss[i] == '?') ? 'z' : ss[i]);
        cout << endl;
        break;
      }
    }
    if (flag) cout << "No\n";
  }
  return 0;
}
